Site logo

[Resolved] Top bar visible for enabled for mobile header

Home Forums Support [Resolved] Top bar visible for enabled for mobile header

Home Forums Support Top bar visible for enabled for mobile header

  • This topic has 7 replies, 4 voices, and was last updated 7 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #276934
    Janek

    Hi Tom,
    At the moment we are using WMPL anguage switcher in top bar secondary menu position. We would like this menu to be always visible. Now, we are using this to make it show up

    add_action( 'wp_enqueue_scripts', 'generate_dequeue_secondary_nav_mobile', 999 );
    function generate_dequeue_secondary_nav_mobile() {
       wp_dequeue_style( 'generate-secondary-nav-mobile' );
    }
    along with css
    .secondary-navigation .menu-toggle {
          display: none;
    }
    

    It works but only if Layout >> Header >> Mobile menu is deactivated. We would like top bar to show up also if mobile menu is enabled.

    Please advise how can we accomplish that.
    Thanks

    #277025
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Can you link me to your site? Your secondary nav should still be there even with the mobile header activated.

    #277082
    Janek

    Thanks for the tip. Got it fixed since some custom CSS was messing around.

    Next question though: is there a way to make mobile menu to act like this:
    1. First click open submenus
    2. Second click points to the menu

    At the moment i have Layout >> Navigation Dropdown set to “Click – menu item” which for the mobile menu does what i need but then again: it disables 1st level menu links for the Desktop version.

    Since Click + arrow seems to be confusing for most of the customers (they do not think about clicking on the arrow) then this option is also a no go.

    Any advice?

    #277173
    Tom
    Lead Developer
    Lead Developer

    You could try this plugin: https://en-ca.wordpress.org/plugins/generate-legacy-mobile-menu/

    More mobile menu options when it comes to clicking is something I wouldn’t mind tackling.

    #278113
    Janek

    Ok, thanks anyway 😉

    #278224
    Tom
    Lead Developer
    Lead Developer

    No problem – I’ll see if I can get more options in one of the upcoming updates 🙂

    #851806
    Brad

    How do we make the Top Bar always display, when using the Mobile Header? I would like for it to be sticky on top of the Mobile Header. Thanks in advance!

    #851857
    Leo
    Staff
    Customer Support

    Any chance you can open a new topic and link me to the site in question?

    Thanks!

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