0
Welcome Guest! Login
0 items Join Now

CSS modification to hide level 2-4 in the main menue!

    • itanswers's Avatar
    • itanswers
    • Jr. Rocketeer
    • Posts: 25
    • Thanks: 0

    CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 1 week ago
    • Hi all,

      via email I get the information from the RT support that it is possible to use the versatility template with the split menue and and hide items in the main menue. This split menue is working fine as you can see here: http://www.answer.de But now I need to know how I can hide all the sublevels in the top mainmenue.

      Where is the CSS code to hide it?

      The hiding via the modul settings are working fine for the side split but not for the top main menu...

      Thank you in advance.
      Daniel
  • Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 1 week ago
    • Hello,

      Have you set the menu items you want hidden to 'special'?
    • itanswers's Avatar
    • itanswers
    • Jr. Rocketeer
    • Posts: 25
    • Thanks: 0

    Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 1 week ago
    • Hi.

      No, its not meant to be for registered users only - therefore its not set as "special".
      I want to show only the first and 2nd level in the top main menue. All the other levels should appear in the splitted menue on the side.

      Via the backend settings "show level from xx to xx" I can hide the first level in the side menue. But there is no option for the top mainmenue to hide any level.

      Any ideas?

      Thanks, Daniel
  • Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 6 days ago
    • Add the following to template.css
      #horiz-menu li ul { display: none; }

      That will stop all sub level items appearing in the Horizontal Top Menu.
    • James Spencer / Developer & Support / Hull, UK
    • itanswers's Avatar
    • itanswers
    • Jr. Rocketeer
    • Posts: 25
    • Thanks: 0

    Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 6 days ago
    • Thank you. This is working fine, but there is one more thing.
      Is there a chance to show the first AND the second level. I only wanna hide the items from level 3-4 in the hirizontal main menu. Any ideas?

      Thanks you very much,
      Daniel
    • itanswers's Avatar
    • itanswers
    • Jr. Rocketeer
    • Posts: 25
    • Thanks: 0

    Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 1 day ago
    • Has anyone an Idea? Thank`s
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 18 hours ago
    • Why don't you just make separate menus for each thing you need and then assign them to the main menu item you want them to show for? You wouldn't have to change any code and you'd still get the exact same effect.
    • itanswers's Avatar
    • itanswers
    • Jr. Rocketeer
    • Posts: 25
    • Thanks: 0

    Re: CSS modification to hide level 2-4 in the main menue!

    Posted 16 years 46 minutes ago
    • Beause then the structure wont appear in the breadcrumbs path.

      Why can I hide levels in the side menu due to the backend, but not for the top horizontal main menu. To show all 4 levels in the main mainmenu in just to much.

      So please, who can I change the code to show only level 1 and 2 in the mainmenu.

      Thanks, form Germany,
      Daniel
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: CSS modification to hide level 2-4 in the main menue!

    Posted 15 years 11 months ago

Time to create page: 0.058 seconds