About menu text on mobile
-
Hey I need a little help. I would like to have the menu text white on the about page, for the desktop version I used the following code. My question how do I get the same effect for the mobile version?
/* navigation */
body.slug-info nav.primary a{
color: white;
}https://www.danielniederkofler.com/
Any help and advice appreciated!
-
Hello @Daniel1234, did you try that?
@media (max-width: 600px){ .id-18 .navbar {background-color: black;} .id-18 nav.mobile-nav li a span {color: white;} }
-
Thank you for the reply.Unfortunately it does not really work, the menu text on the about page just turns black
-
-
Hey @Daniel1234 ,
Did you try with !important?
Like:
@media (max-width: 600px){ .id-18 .navbar {background-color: black !important;} .id-18 nav.mobile-nav li a {color: white !important;} }
When I try with the dev tool it works for me.
Let me know.
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