0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Remove top menu on specific page

  • Remove top menu on specific page

    Posted 14 years 2 months ago
    • I'm using the Crystalline template. I have a page where I don't want the top menu (or any menu) to show up. I can't figure out how to remove it from that page. I've tried modifying the "Menu Assignment" and select which pages I want this module to show, but I it doesn't work.

      Any ideas?
  • Re: Remove top menu on specific page

    Posted 14 years 2 months ago
    • Hi!

      I dont know the structure for this layout, but I sometimes want a module showing on all pages but one.

      The way I usually solve this is to make an custom module. (you can call it nomodule).

      Assign this module to the page where you want to hide the menu, and to position "hidemenu".

      (You can call module and position whatever you want...)

      Wrap the menu in your template with this code:
       
      <?php if(!$this->countModules('hidemenu')) : ?>
       
      **** CODE FROM TEMPLATE HERE ****
       
      <?php endif; ?>

      Would that solve it for you?

Time to create page: 0.050 seconds