WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change menu bar colour in TwentyTen theme (2 posts)

  1. Matulini Nicky
    Member
    Posted 2 years ago #

    Want to change menu bar colour. Where is text to edit in style.css or function.php? Where in file?

  2. peredur
    Member
    Posted 2 years ago #

    The style rule setting the menu bar colour is:

    #access {
        background: none repeat scroll 0 0 #0000FF;
        display: block;
        float: left;
        margin: 0 auto;
        width: 940px;
    }

    So you just need to put this either at the end of the twenty ten style sheet or (much, much better IMHO) create a child theme and put it in the child's style.css:

    #access {
        background-color: #nnnnnn;
    }

    (where #nnnnnn represents the colour you want)

    Works for me in FF. Haven't tried it elsewhere.

    Cheers

    PAE

Topic Closed

This topic has been closed to new replies.

About this Topic