[Resolved] Different menu for Mobile and desktop

Home Forums Support [Resolved] Different menu for Mobile and desktop

Home Forums Support Different menu for Mobile and desktop

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2281384
    Santiago

    Hello,
    I activated Mobile Header and added this code but the mobile menu is still not showing and i dont know what is wrong.
    Thanks for the help.

    #2281390
    David
    Staff
    Customer Support

    Hi there,

    in Customizer > Layout > Primary Navigation – what value do you have in the Mobile Menu Breakpoint ?

    #2281402
    Santiago

    Hi,
    Its at 0px value because i dont want the “hamburguer” on mobile.

    #2281445
    David
    Staff
    Customer Support

    The code you added only works if the Mobile Menu is visible.

    So try this:

    1. Remove the Code.
    2. In your Primary Nav – add ALL the links you want for both Mobile and Destkop.
    3. Activate the CSS Classes in the Menu Builder:

    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

    Any Desktop only menu items add the class: hide-on-mobile
    Any Mobile only menu items add the classes: hide-on-desktop hide-on-tablet
    Any menu items you want on both then add no classes.

    #2283307
    Santiago

    It worked, thank you so much for the help 😁

    #2283342
    David
    Staff
    Customer Support

    You’re welcome

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