Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • estudiovni Friend
    #156022

    Hi, I’d like to hide my frontpage content area. I’ve got no articles there but it’s still showing a white box.

    Thanks!


    1. frontpage_content
    aman204 Friend
    #361585

    Set in Hide Main content block to yes in template parameters along with menu type set as frontpage blog layout for default menu item

    estudiovni Friend
    #361594

    Just tried your solution, but that hides the content in all the site. I need to hide it only in the frontpage. Any idea?

    Regarding the menu type, I already have it as frontpage blog layout.

    SP Media Friend
    #361599

    Surprised the template doesnt let you do that.

    When I need to do that, I just create a new module with the following – set to only show on the front page;

    [PHP]<style type=”text/css”>
    #ja-container {
    height:1px !important;
    overflow:hidden !important;
    visibility:hidden !important;
    }[/PHP]

    You’ll probably need to disable your text editor via your admin configuration in order for that to save properly.

    That’ll hide the entire content.

    estudiovni Friend
    #361624

    That worked great! It was also useful to hide a module which shouldn’t display at the frontpage (I asked about it here).

    Anyway, I changed your code a little bit:

    <style type="text/css">
    #ja-contentwrap {
    display:none;
    }</style>

    I used “display: none”, is there any advantage for using your solution instead?

    Thanks!

    SP Media Friend
    #361653

    I had no idea display:none existed, lol. :-[

    Every day is a svhool day!!!!!!!!

    Might be worth applying the other attributes too, as they do combat the older browsers.

    snakepit Friend
    #361865

    <em>@spmedia 201897 wrote:</em><blockquote>Surprised the template doesnt let you do that.

    When I need to do that, I just create a new module with the following – set to only show on the front page;

    [PHP]<style type=”text/css”>
    #ja-container {
    height:1px !important;
    overflow:hidden !important;
    visibility:hidden !important;
    }[/PHP]

    You’ll probably need to disable your text editor via your admin configuration in order for that to save properly.

    That’ll hide the entire content.</blockquote>
    Can’t understand..
    How to set a module to only show on the front page?

    SP Media Friend
    #361866

    It’s in the module configuration – below the name/access levels, etc. You have an option to select which pages you want it to show.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 4 voices, and was last updated by  SP Media 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum