How can I change the colour of my mobile menu items?
Currently, it’s blue and I want to change it to another colour. I’m using a premium WordPress theme called "Bridge – Creative Multipurpose WordPress Theme"
I can find out any options for changing it. Please help me. It’s will be better if I can get a guideline step by step. I would like to attach an image here.
Thank you all in advance.
2
Answers
You can do this by adding a
classname
on the parent of the said items.Say you have an
html
like this:You can then target all descendants of the parent with the
classname
you’ve added and change it’s color accordingly.Since wordpress and its themes’ coding standard may vary, if you didn’t find the solution to work, you can add an
!important
tag at the end of thecss
propertyThere are ways on how you can add a custom style rules on your wordpress website. A much more better way is install a
snippet
plugin such as woody snippet and add you custom style declaration by using the plugin.If you only want to apply the style rule on mobile only, media queries are your friend.
To change the color of the mobile menu you have to write media Query and give the colors as per your requirement.