I have a menu in the header and setup Header/NavStyle with a background color (oppacity=100). This to get a menu that is easy to read since it sits in the Header where I have an image : Header/Header Style/Background Image.
Works great - BUT - not on mobile. In mobile I dont get my background color behind the menu and that makes it unreadable.
Also - can I change it from default “Menu” ? In Swedish its “Meny” for example…
I added your CSS - but it does not work… If you use a mobilephone (or resize your browser) the menu changes into the “menu button”. Then click it open the menu and you cant read the menu since it overrides your choosen color and makes it transparant to the image. The colour on the menuitems text is preserved however…?
But - now I see that when you go to a small screen it changes the color of the text as well WHY ? I have choosen white text (almost) and black for hovercolor. Works like it should on large/medium devices. But changes when you use a phone for example. I think this is a bug ?
What are you trying to achieve exactly? Did you want the background color of the mobile menu be similar to that of the desktop menu?
Edit: Also, you can use the filter below to change the wording of the mobile menu. Just place it inside your theme’s functions.php file, preferably on the child theme.
Here are some images to explain. This is how my menu is configured and look like on a desktop :
Here its an image (seen on top) with a brown overlay as the menu background. Selected menuitem is black, the rest is white. This is what I want and how its setup (as seen above).
But when I look at it in my iphone I get the menu button, which is fine. But NONE of these settings apply here? Not the backgroundcolor and none of the textcolors. I get this :
Which is not so user friendly and not what I have configured. Why is it not using the selected background and colors ? This is why I think this is a bug…
Yes - I added CSS to style the menu differently (so at least it would be able to be readable). Your code did not change it the way I want it. I would also (if I have to CSS style it in code) like to change the colors to the one defined in the theme settings but my lack of skill in CSS dont let me select the a tag to set the color (as described in my previous post).