WordPress.org

Ready to get started?Download WordPress

Forums

[Twentyeleven] Changing search bar color (3 posts)

  1. gbarr
    Member
    Posted 1 year ago #

    Hello everyone,
    I have a child theme for twenty eleven and I changed the color of the navigation bar but cannot figure out how to change the color of the search bar.

    http://betasite.medicinefreehealing.com

    Thanks for the help

  2. SNSD Photo
    Member
    Posted 1 year ago #

    [ Moderator note: please use backticks or the code button for code snippets instead of blockquote. ]

    #branding .only-search #s {
    background-color: #666;
    border-color: #000;
    color: #222;
    }

    style.css line 659

  3. I've not checked the CSS but more precisely with a child theme, place that new CSS in your child theme's wp-content/themes/child/style.cssstyle.css file.

    Don't edit the parent's style.css file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.