0
Welcome Guest! Login
0 items Join Now

SOLVED hiding rt-block (content) on 1 page only

  • SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • Hi. I neeed to hide the content rt-block under the content-top module, but on 1 specific page only.
      If I leave the article empty, a blank space remains. Not good.
      How to do? Best. Thanks.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • That is an empty mainbody section because the menu item is set to type "single article" but you don't have an article with any content. So change the menu item type to something else. You can for example change it to "featured articles" and then choose a category that has none and then ensure that "mainbody enabled" is set to "OFF" in the template that you are using for that page.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • Yes, but in that page I need content-top and sidebar modules.
      Any way to deactivate the content rt.block only?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • Enable "page suffix" in template manager then you can use a class on the body tag that takes the form "menu-alias" (where alias is the alias of your menu item) to write some custom CSS to hide that content.

      If you need more help with that Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • Very kind, this is too much for me ;) Your help is very important.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • Ok I turned page suffix on and added this CSS:
      .menu-player-1 #rt-main .rt-grid-9 #rt-content-top + .rt-block {
        margin: 0;
        padding: 0;
      }

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED hiding rt-block (content) on 1 page only

    Posted 7 years 11 months ago
    • That's ok, thankyou Mark. And finally so I also figured out how suffixes work.
      Best.

Time to create page: 0.050 seconds