0
Welcome Guest! Login
0 items Join Now

Page with modules only, no mainbody (apart from Home page)?

    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 13 years 2 weeks ago
    • perhaps you want to try to disable the "menu-less"-pages feature in gantry ...
  • Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 13 years 2 weeks ago
    • That worked, thank you Henning.
  • Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 13 years 2 days ago
    • Hi, i would like to hide the mainbody from my homepage, but the css code in template.css isnt working, it istill shows a white bar in the mainbody position. How can i hide it

      The template is modulus and the site is:
      www.caluh.com.br/sisem/

      Thanks a lot
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 13 years 2 days ago
    • disable "display component" in the template settings ...
  • Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 13 years 2 days ago
    • Tks, now it works! You guys are great! :cheesy:
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 12 years 11 months ago
  • Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 12 years 11 months ago
    • Hello Everyone, just was wondering how about the default gantry template. where can I find the .menu-class

      Here is my body tag
      <body class="cssstyle-style4 font-family-helvetica font-size-is-default menu-type-fusionmenu col12">
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 12 years 11 months ago
    • I would not do it that way. why don't you just use display: component (as described above)?
    • syco's Avatar
    • syco
    • Elite Rocketeer
    • Posts: 539
    • Thanks: 0

    Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 12 years 9 months ago
    • Hi Cliff and Henning,

      I have no training in web design... and this is my first site using 1.7 ... and I am having trouble understanding how to create a Module Only Page. I understand the concept of what you are saying I should do (by making the Article Page to - not display)... but I'm really having trouble find the code or where I edit this code you mention.

      Cliff said
      the ".menu-class" is information you need to get from the body tag of your page

      Using Firebug, ... I'm having trouble finding the 'menu class tag'... in fact even where I should find the 'body tag' in the code?

      I did add the code you mention to the bottom of the template.css
      .menu-class #rt-main{display:none;}

      But can't locate the code or work out what I need to do next... I have misunderstood you... as I then went into the MENU MANAGER (selected the menu item I wanted to have no article displayed...) then choose the 'Page Display Options' and inserted 'none' into the PAGE CLASS. But this did not change anything.

      Here's a link to the site I'm building:
      http://www.test-swishimage.au.com/musnissan/index.php/new-vehicles/vehicle-classes/small-cars

      Look forward to better understanding your explanation.
      Sorry about being uneducated in how to locate the code you mention in FIREBUG :oops:

      Cheers, Syco
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Page with modules only, no mainbody (apart from Home page)?

    Posted 12 years 9 months ago
    • Hi, the easy way is to set "display component" to off in the template settings, as Henning mentioned earlier in this thread. If you need to do that only on a certain page, you can create a template override by making a copy of the template in the template manager, then assigning it to the page you want in the assignments tab. Then check the box and flip the switch for "Display Component" in the advanced tab.

      Since you asked about the code, you can always find the body tag near the very top of the code, just after the <head>. This is the body tag seen on the link you provided:
      <body class="main-color-red font-family-helveticaneue font-size-is-default menu-type-fusionmenu inputstyling-enabled-1 typography-style-light col12 option-com-content menu-small-cars none">
      There are many classes listed in the tag. Every time there is a space, it's a new class name. Near the end of the list you find "menu-small-cars" - the name of the page with "menu-" before it, that is the class you would use in the code:
      .menu-small-cars #rt-main{display:none;}
      Hope that clears it up for you.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.052 seconds