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
-
@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!
-
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com