Search Box Backgound Color

  • Calvyn
    Calvyn
    Newbie 39 points
    August 29, 2015 at 2:18 am

    I replace a bg1.png file in my theme folder, this png file was transparent.

    After replace, I found that this search box come with orange background.

    From the theme design setup section, which section can I change this color from orange to white?

    Attachments:
    You must be logged in to view attached files.

  • Josh
    Super Guru 13,875 points
    August 31, 2015 at 3:22 pm

    Hello Calvyn,
    Try this in Design Setup >Custom Meta Data >Header Styles
    [code title=””]
    <style>
    .BasicSearchBox {
    background:transparent url(“https://mysiteurl/wp-content/uploads/2015/06/bg2.jpg&#8221;);
    }
    </style>
    [/code]

    This reply was awarded the best answer by the topic poster.
  • Melissa
    Melissa
    Newbie 57 points
    September 16, 2015 at 6:23 pm

    Hello. What would be the code if the background color were light gray (#b2b2b2) instead of orange?


  • Josh
    Super Guru 13,875 points
    December 21, 2015 at 7:58 am

    @Melissa try this
    <style>
    .BasicSearchBox {
    background:#b2b2b2 !important;
    }
    </style>

Viewing 4 posts - 1 through 4 (of 4 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes