0
Welcome Guest! Login
0 items Join Now

SOLVED Dropdown-Menu: Show top level menu only

    • JSYMedia's Avatar
    • JSYMedia
    • Sr. Rocketeer
    • Posts: 134
    • Thanks: 1
    • Joomla plus Gantry

    SOLVED Dropdown-Menu: Show top level menu only

    Posted 10 years 7 months ago
    • I have an unusual menu configuration I'm trying to achieve and just can't figure out the best method to make it happen.

      I'm using the free Gantry template, taking advantage of the responsive "Panel" menu.

      This website shows what I am trying to duplicate:

      http://www.gsnetx.org/

      1. The main top menu has child sub-menus that do NOT drop down (do not show). Child menus show up in a secondary module menu along the left side.
      2. The "Panel" responsive menu shows everything ~ the full menu tree.

      Using the free Gantry template, can I somehow supress the main top menu from displaying sub menus but still show the full tree in the "Panel" responsive menu? I'm aware that the seperate RokNavMenu module allows this supression but those options are not built into the Gantry template (not visible in the admin>template manager>gantry>menu). Is there some CSS I can add to the template to surpress them?

      I would then need to create a new RokNavMenu module that would also display the full navigation tree.

      This is a big client for me and I'm behind on this. Any help would be GREATLY appreciated.

      Maybe I'll have to use a newer Rockettheme template (if my needed options are available within it).
    • Last Edit: 10 years 7 months ago by JSYMedia.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22291
    • Thanks: 3227
    • messin' with stuff

    Re: SOLVED Dropdown-Menu: Show top level menu only

    Posted 10 years 7 months ago
    • Are you using RokNavMenu as your menu system? The options you're referring to would be in the Menu Manager > Menu Item... not in the Template Manager...
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • JSYMedia's Avatar
    • JSYMedia
    • Sr. Rocketeer
    • Posts: 134
    • Thanks: 1
    • Joomla plus Gantry

    Re: SOLVED Dropdown-Menu: Show top level menu only

    Posted 10 years 7 months ago
    • Hi Matt, thanks for the reply.

      The Gantry template bundle includes RokNavMenu so I assumed it was required, which means yes, I'm using it. The Template Manager menu settings do not have the needed options as you said. I mentioned that because other Rockettheme templates do have those settings in the Template Manager but not in the Gantry template.

      I have RokNavMenu installed but do not have an actual module created because it's built into the template. If I create a new RokNavMenu and try and use it's settings (in the module), it doesn't effect the main menu.

      I can find no way to stop the main menu to not show child menus and still have the responsive menu to show all child menus.

      I've used Gantry dozens of times and this is the first time it's getting in my way. Ugh.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22291
    • Thanks: 3227
    • messin' with stuff

    Re: SOLVED Dropdown-Menu: Show top level menu only

    Posted 10 years 7 months ago
    • ok, I thought RokNavMenu had a "number of child items" option but I don't believe it does... I think I was thinking of the WordPress menu system...

      in any case, I would say just kill the drop down entirely with some custom css... just target the dropdown container while it's IN the normal position... lets assume Header
      #rt-header ul.gf-menu > li.parent > div.dropdown {
      display:none;
      }

      That WON'T apply in mobile mode because the entire menu structure is removed the Header position and is placed in the mobile wrapper designed for the sidepanel menu...
    • Last Edit: 10 years 7 months ago by Matt.
    • The following users have thanked you: JSYMedia

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • JSYMedia's Avatar
    • JSYMedia
    • Sr. Rocketeer
    • Posts: 134
    • Thanks: 1
    • Joomla plus Gantry

    Re: SOLVED Dropdown-Menu: Show top level menu only

    Posted 10 years 7 months ago
    • display: none;

      Of course.

      Perfect. Worked exactly as you said. Thank you.

Time to create page: 0.070 seconds