Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
hi! i have a customer that wants to have just one of the menu items appear a different color. right now they are white and he would like one of them to be yellow (and if i know this customer he will want that capability on other items down the road).
how can i accomplish this?
thanks in advance!
d-_-b
Hi D-_-b
You will need to find the menu id of the item you want to change. To do this please right click on the menu item and select inspect element from the menu.
Once you have the developer window open you will see the structure of the page expanded to the element you have chosen. If you look in the lines above the entry selected you will find the parent element. Please look through the class section to find the menu id entry
In this example the menu id is
Once you know this you can add the following to Appearance->Custom CSS
Please replace the Menu ID with the one you want to change and the colour to the colour you want the item to be.
For more information on using the Browser developer tools to modify theme elements please see here
https://siteorigin.com/basics/modifying-theme-design-with-custom-css/
Let us know how you get on
Magus
hello and thank you for the reply. i am familiar with using the inspect element and followed your directions but it didnt work. i even tried a few variations such as adding !important and other structure elements.
first entry
second variation
and then finally a few like this
just to verify i want to change the color of the menu item font and not the background of it. the font is currently a whitish color and i want the one menu font to be yellow
thank you again!
jamie
Hi Jamie
Sorry for the delay in getting back to you. You were almost there. Please try the following
Magus
perfect! thank you so much!