[Resolved] Double secondary menu issue

Home Forums Support [Resolved] Double secondary menu issue

Home Forums Support Double secondary menu issue

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #1373988
    Carsten

    Hi there, thanks for the update.

    After updating, again I’m seeing this double secondary menu issue:

    View post on imgur.com

    #1373995
    Carsten
    #1374053
    Leo
    Staff
    Customer Support

    Hi there,

    Is this happening on a specific page?

    Not seeing it on the home page:
    https://www.screencast.com/t/QH9MC2xF

    #1374064
    Carsten

    That’s because the secondary menu is supposed to be hidden on the front page

    #1374065
    Leo
    Staff
    Customer Support
    #1374082
    Carsten

    Thanks, I installed the latest update, cleared the cache, but apparently the issue is still there.

    I deactivated the front page restriction for the secondary menu. My secondary menu is not supposed to be mobile.

    #1374136
    Leo
    Staff
    Customer Support

    Sorry I cannot recall how you were hiding the secondary navigation on mobile before.

    Was it with CSS?

    #1374139
    Carsten

    I’m using a plugin called ‘Nav Menu Roles – Hide custom menu items based on user roles.’ but it’s the same result, if I deactivate this.

    View post on imgur.com

    View post on imgur.com

    #1374142
    Carsten

    Sorry, I misunderstood your question, no css, I’m using a markup from your documentation pages. Unfortunately I’m not able to access my functions.php at the moment to check that it’s there, but the issues showed up, after the update.

    #1374145
    Leo
    Staff
    Customer Support

    Did you add the snippet to your child theme’s function.php or parent theme’s function.php?

    #1377074
    Carsten

    This code snippet is added to my child theme’s functions.php

    add_action( 'wp_enqueue_scripts', 'generate_dequeue_secondary_nav_mobile', 999 );
    function generate_dequeue_secondary_nav_mobile() {
        wp_dequeue_style( 'generate-secondary-nav-mobile' );
    }
    #1377091
    Leo
    Staff
    Customer Support

    Are you able to check if the snippet is there now?

    #1377103
    Carsten

    Yes, I checked it just now, it is there.

    And the latest updates have been installed

    #1377104
    Leo
    Staff
    Customer Support

    Are you using alpha 4 now?

    #1377107
    Carsten

    Yes, Version 1.11.0-alpha.4

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