• Resolved quasiDigi

    (@quasidigi)


    Hello,

    I making a neve child theme with a very minimalistic design which has the same mobile, tablet, and desktop navigation menu. I do not use the hamburger menu for mobile and tablet.
    In the html I see that 3 menus are created, one for each device size.

    Is it possible to disable the creation of those extra menus? My main reason is that I want to control this menu through js.

    Thank you

    • This topic was modified 4 years, 3 months ago by quasiDigi.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @quasidigi,

    If I understand this right you want not to have menus on the mobile and tablet version of your site.
    In this moment I see that you are not using a hamburger menu and your menu is the same for all sizes. Did you manage to solve this problem?

    Thread Starter quasiDigi

    (@quasidigi)

    Hi @betydbr

    I wish to have the desktop menu on all aspect ratios.
    I couldn’t solve the problem. The template is creating 3 different menus, one for each aspect ratio.

    Thank you

    Yes, this is possible. In the header builder (when editing mobile view) it’s needed to remove the Menu Icon component at all and add Primary Menu component instead: https://prnt.sc/tx1zbp.

    Hope that helps!

    Thread Starter quasiDigi

    (@quasidigi)

    Hi @betydbr

    I am probably doing something wrong because doing so I still have the double menu items in the rendered html:

    https://we.tl/t-dAQLggMEnL

    Thank you for your fast answer

    That is because you put the menu on a different level of header than the logo. See here.
    If you put them like this you’ll not have the double menu items in the html.

    Thread Starter quasiDigi

    (@quasidigi)

    Hi @betydbr

    Yes, the design is like this: https://ostrehrany.com/projects/

    The desktop version as the mobile version has the logo and the primary menu on different levels.

    Are you proposing me to place the logo and the menu en the same level (for desktop and mobile) and then to separate them by css?

    Thank you

    Hi @quasidigi,

    No, you can leave them like this, it’s totally fine. My reply above just explain why you see “double menus” on your html file.

    Thread Starter quasiDigi

    (@quasidigi)

    Hi @betydbr,

    I have the impression we’re having a communication problem. Nevertheless, I found a workaround, I guess I will have to live with the idea of the double menu ^_^

    Than you for your time

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disable creation of tablet and desktop navigation menu’ is closed to new replies.