Twenty Eleven – Menu Dropdowns Same Color As Menubar?

  • Author
    Posts
  • #1290109

    I’ve found a lot of code that deals with gradients, but nothing that sees address my issue. I’d like to have the background for the drop-down parts of my menu bar be the same color as the menu bar itself. They’re white right now, and so is my background, so they’re not particularly easy on the eyes. Is there a bit of CSS that will tell those drop-downs to use the same color?

    Many thanks,
    Mark

    The blog I need help with is sentientmouse.com.

    #1290444

    siobhyb
    Staff

    Hi Mark,

    In your custom CSS editor, you need to add the following CSS snippet:

    #access ul ul a{
    background: #ECE5CE;
    }

    This will change the background colour of your drop-down menus. You can change the hex value given for the background to anything you want.

    Hope this helps!

    #1290445

    justpi
    Member

    @siobhyb: Code tags aren’t used to display HTML or CSS. Don’t use them here, as they produce the erroneous br tags you can see. To display code in this forum, enclose it in backticks (see the note on allowed markup).

    #1290446

    siobhyb
    Staff

    @justpi: Thanks for the tip!

    #1290448

    justpi
    Member

    You’re welcome!

    #1290455

    Thanks so much for the code! I really appreciate it :-)

    Mark

    #1290457

    siobhyb
    Staff

    No problem! Glad it helped. :)

The topic ‘Twenty Eleven – Menu Dropdowns Same Color As Menubar?’ is closed to new replies.