0
Welcome Guest! Login
0 items Join Now

How to display Content Module only

  • How to display Content Module only

    Posted 10 years 4 months ago
    • I want to display only the "content module" and side bar and not display the other module positions. Right now there is a huge empty space between the "showcase and Conrtent module.

      When I create a new item it displays in the Content module which is fine but its all blank above that and I'd like it all to shift up only for specific pages.

      I'm using modules fro the home page and then only want to display the content module on other pages? HELP!!

      Thanks

      Using the Oculus theme by the way.

      Regards,

      David
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: How to display Content Module only

    Posted 10 years 4 months ago
    • Hi David
      and welcome to the forums
      This image is hidden for guests.
      Please log in or register to see it.

      David Aaron wrote:
      I want to display only the "content module" and side bar and not display the other module positions. Right
      now there is a huge empty space between the "showcase and Conrtent module.

      If this is a site that is online (just installed, dev or live) could you please supply a link in the Public or SECURE part of your reply so we can better diagnose the issue?
      It makes our suggestions more accurate if we see the actual coding of your site.
      This is especially important with RokSprocket as our templates carry an override folder to modify the native styling.

      So guessing :( , to turn OFF FrontPage Main Body which also includes content- bottom & top and the sidebars
      Admin -> Extension Manager -> Template Manager -> rt_template -> Advanced -> Display MainBody -> OFF

      To turn OFF just the FrontPage Main Body
      Admin -> Extension Manager -> Template Manager -> rt_template-> Advanced -> Display Component -> OFF

      The Display MainBody & Display Component are functional only if you have your HOME menu item set to menu type = "Featured Articles".

      If your seeing styling remnants of your EMPTY Main Body.
      CSS out the remnant:
      #rt-main .rt-block {display: none;}
      .component-content {display: none;}
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: How to display Content Module only

    Posted 10 years 4 months ago
    • It's really better to use css rule like
      #rt-main .rt-block {display: none;}
      .component-content {display: none;}

      in combination with the page suffix-feature.

      Enable that in the gantry settings.
      After that take a look at the source-code of the page in question.
      Look wich classes are attached to the body tag.

      Look for classes like "menu-home".
      Your css rules should look like
      .menu-home #rt-main .rt-block {display: none;}
      .menu-home .component-content {display: none;}
    • Last Edit: 10 years 4 months ago by Henning.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: How to display Content Module only

    Posted 10 years 4 months ago
    • Hi David

      To elaborate a little bit, you can set body class Gantry injected page class suffix here:
      Admin -> Extend or Extensions -> Template Manager -> rt_template(MASTER) -> Advanced -> Page Suffix -> ON

      This image is hidden for guests.
      Please log in or register to see it.



      The easiest method to find the name of the class is by using Chrome Developer Tools:

      This image is hidden for guests.
      Please log in or register to see it.

Time to create page: 0.061 seconds