Jump to content


Photo
- - - - -

Drop down list background color


  • Please log in to reply
1 reply to this topic

#1 designpoint

designpoint

    Advanced Member

  • Members
  • 59 posts
  • Country: Country Flag

Posted 06 May 2013 - 04:06 AM

Hi,

 

I am trying to change the background colour of the droplist background to a lighter shade of grey:

 

test.propertywealthadvisors.com.au

 

I have the below code:

 

 

#brandnav .main-nav ul a:hover, .main-nav ul.current_page_item > a, .main-nav ul.current-page-ancestor > a {
    background-color: #FFFFFF;
}

 

Still doesn't work, is there anything im missing?



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17919 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 06 May 2013 - 05:31 AM

Hi,

 

Unfortunately, we are unable to provide you the custom CSS needed to achieve your layout. However, I can tell you that the code you have above is incorrect. The reason this is incorrect, is the current page etc... classes only work for the auto created menu by Wordpress. If you have created your own menu, then you need to use the current menu classes instead.

 

Please Login or Register to see this Hidden Content

 

I recommend using Google Chrome web dev tools and inspect the BrandNav ul to find the correct code. If you're new to Chrome, I highly recommend taking this quick and free course from Code School. As it will assist you in learning the basics for Google Chrome web dev tools.

 

Please Login or Register to see this Hidden Content