How can I hide the active menu link from the menu on mobile?
-
-
Dear @piero101
have a look here:.mobile-nav .current-menu-item { display: none !important; }Best!
Marius
-
-
@mariusjopen
I tried to use the same classes to change the color of the current-menu-item, but somehow it doesn't show an effect. I first tried your code with display:none and it worked, but as soon as I change it to color: it wouldn't work..mobile-nav .current-menu-item { color: #ff494f !important; }Do you know, what I could have forgotten? Or is the color defined somewhere else?
Thx -
Dear @marcelgross
inspect the CSS. You can see that there is a span element inside it. You need to give a colour to that element.Best!
Marius
-
Dear @marcelgross
inspect the CSS. You can see that there is a span element inside it. You need to give a colour to that element.Best!
Marius
@mariusjopen Thanks! I should have got this on my own... beginners fault. But I'm very happy about your perfect support even with this little details!
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login