Jump to content
Sign in to follow this  
joeteplow

Changing the background color of a single menu item

Recommended Posts

joeteplow

Ive read through a few threads on this but the solutions that have been suggested have not worked: http://www.pagelines.com/forum/topic/2913 and http://www.pagelines.com/forum/topic/2701 I want to change the background color of the tab "get a quote" to "#E87415" and the text to white Someone in the other threads suggested to use this code:

#menu-item-304 a, #menu-item-304 .sub-menu li a{
	color:#fff !important;
	background:#3A53A3 !important;
	text-shadow:none !important}
I used that and updated it with my page number "265" and my color "#E87415"
#menu-item-265 a, #menu-item-265 .sub-menu li a{
	color:#fff !important;
	background:#E87415 !important;
	text-shadow:none !important}

I placed this code in my custom css settings box, but the changes are not reflected on the site. I am using the Platform Pro Theme if that is relevant www.insurancecreations.com Does anyone have any solutions? Thanks, Joe

Share this post


Link to post
Share on other sites
timlinson

Instead of `#menu-item-265 a, #menu-item-265 .sub-menu li a` you should only need `.page-item-265 a` In the case of tweaking css, I would suggest grabbing firebug addon for firefox and inspecting the elements in question manually. The selectors won't be the same for everyone's setup.

Share this post


Link to post
Share on other sites
joeteplow

Thank you so much Tim That worked perfectly. I think I was using Menu-items instaed of page-items. Those past threads were using different themes. For everyones reference this is the code that worked:

.page-item-265 a{
	color:#fff !important;
	background:#E87415 !important;
	text-shadow:none !important}

Thanks again, Joe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×