Site logo

Archived topic

Secondary Menu is showing on mobile, without any Menu inside

3 replies · Started by Kevin on April 26, 2020

Viewing posts 1–4 of 4

Hi, i use the secondary menu to show stuff for logged in users. I use "If Menu - Visibility control for menu items" to st the visibility. It works good, when the user is not logged in, the secondary menu is not visible for everyone. Now i saw, that this is just working on desktop. On Mobile there is now my secondary menu but no items inside.

Can you please fix that or give me a workaround?

Best Kevin

Hi there

try adding this CSS:

body:not(.logged-in) #secondary-navigation {
    display: none;
}

Thank you it works

You're welcome

This archived topic is closed to new replies.