Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Problem changing the background color of just one of the page menu items\buttons


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 5, 2010, 01:23 PM
Thomas
 
87 posts · Dec 2009
Send a message via Skype™ to Thomas
Problem changing the background color of just one of the page menu items\buttons

I found the following post which has directions to implement this (different background color for just one of the menu buttons) and then the thread continues on with some great tips on working with CSS selectors as ATA inserts which was a great quick review and worth checking out.

http://forum.bytesforall.com/showthr...ton+image+item

I have added the following CSS insert to try and make the menu button for page 267 the background color of #D4001F. I assumed I needed to add the "!important" to make sure it had priority.

div#menu1 li.page_item page-item-267 a:link,
div#menu1 li.page_item page-item-267 a:visited,
div#menu1 li.page_item page-item-267 a:active,
div#menu1 li.page_item page-item-267 a:hover {
background:#D4001F !important;
}

This isn't working and I thought it may be because of a conflict with the "current_page_item" (class?) that is added when you are "on" that page but then why isn't the code working when you are on another page?

I've tried just about every variation of this I can think of but no success yet. Any ideas?

Thanks
Thomas
__________________
Hotels-Onsale.com - The Latest Breaking Discounted Hotel Rates on Over 118,000 Hotels Along With Thousands of Traveler Reviews
 

Bookmarks

Tags
background color, css insert, menu button

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Menu Bar Background Color clausont Page & Category Menu Bars 3 Feb 10, 2010 06:00 AM
[SOLVED] Changing the background color in horizontal box 2 glennvogelsang Header configuration & styling 4 Feb 5, 2010 06:48 AM
Changing background color for entire theme Netforest Header configuration & styling 2 Nov 5, 2009 11:54 AM
changing the background color of the main menu widget tenn10 Sidebars & Widgets 1 Oct 27, 2009 12:06 PM
Page menu background color : 2 colors possible? Len Page & Category Menu Bars 1 Jun 17, 2009 01:31 PM


All times are GMT -6. The time now is 04:50 AM.


Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.