[Support request] Mega Menu and Menu Mobile

Home Forums Support [Support request] Mega Menu and Menu Mobile

Home Forums Support Mega Menu and Menu Mobile

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #256118
    Marga

    Hi,

    I’m using Mega Menu Plugin in Generate Press, which works fine in desktop version. However, in mobile version there are too many menus. The top menu (called ABnet Soluciones) I think is taken from the default Generate Press, but I don’t want it to be shown in tablet or mobile version. Also, there are two searchs.

    https://s23.postimg.org/5222goimj/Menu.png

    How can I manage this?

    Thank you!!

    #256216
    Tom
    Lead Developer
    Lead Developer

    Which menu there do you want to keep? The middle one?

    Try this:

    @media (max-width: 768px) {
        .main-navigation .menu-toggle,
        .mobile-header-navigation,
        .secondary-navigation .menu-toggle {
            display: none !important;
        }
    }
    #256389
    Marga

    Thank you Tom,

    I would like to keep just the main menu (Inicio, Nosotros, QuΓ© hacemos…). If I put that code the top menu is the only one that remains in the mobile version.

    https://s30.postimg.org/j6t3zs3r5/Menu2.png

    #256510
    Tom
    Lead Developer
    Lead Developer

    So you want the standard GP menu on mobile, and the mega menu plugin on desktop?

    I would need to see your site to know what the selector for the mega menu mobile button is.

    #256683
    Marga

    Yes, I would like the mega menu plugin on desktop. On mobile, I want just a standard main menu, I don’t mind which one.

    Actually, the only reason I’m using the mega menu on desktop is beacuse I need to show the submenu in two columns with icons. It would be great if this could be done with the GP menu, maybe you plan it as improvement in the future?

    The web is abnetsoluciones.com

    Thanks!

    #256799
    Tom
    Lead Developer
    Lead Developer

    A simple mega menu is planned πŸ™‚

    Try replacing your CSS with this:

    .secondary-navigation {
        display: none;
    }
    #257272
    Marga

    Yuhu! I hope the mega menu GP will work soon!

    With that CSS the secondary menu dissapears, but I want this only on mobile menu. On desktop all menus are fine.

    The problem also is on mobile I still see two searchs icons, and If I click on Menu to xpand/contract ir nothing happens.

    Many thanks!

    #257391
    Tom
    Lead Developer
    Lead Developer

    Sorry, this will do it on mobile only:

    @media (max-width:768px) {
        .secondary-navigation,
        .main-navigation li.search-item {
            display: none;
        }
    }
    #257504
    Marga

    Thanks Tom, finally the nav search doesn’t appear! But still there is the MENU toggle on tablet and mobile.

    I tried with this code to get it out on tablet and mobile, but didn’t work:

    @media
    (max-width:768px) {
    .main navigation,
    .mobile-header-navigation .menu-toggle {
    display: none;
    }
    }

    https://s28.postimg.org/4jrg1d3jx/Menu3.png

    Many thanks and Merry Christmas!!

    #257570
    Tom
    Lead Developer
    Lead Developer

    I would have to see the actual site to see why the CSS isn’t working I’m afraid.

    Merry Christmas! πŸ™‚

    #257811
    Marga

    Sorry, I forgot to give you the url. You can checkt it on abnetsoluciones.com

    Thanks!

    #257885
    Tom
    Lead Developer
    Lead Developer

    Hmm, it looks like you don’t need the mobile menu button at all?

    .menu-toggle {
        display: none !important;
    }
    #258048
    Marga

    Perfect! now the mobile/tablet menu button is hidden. Thank you very much Tom!

    I hope a mega menu generate press will be working soon! πŸ™‚

    #258150
    Tom
    Lead Developer
    Lead Developer

    Glad I could help! πŸ™‚

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.