• Resolved joanna.boj

    (@joannaboj)


    Hi Ben,

    I’ve managed to change the top navigation background and social icons colors, but the search icon and field that opens up – they’re still in original dark grey. How to change those elements?

    thanks,
    Joanna

Viewing 5 replies - 1 through 5 (of 5 total)
  • In your Child Theme or CSS Editor Plugin try this code:

    .fa-search {
        color: #009900 !important;
    }

    Just edit the green color I used

    *Note
    If your theme has a custom CSS Editor in it, you can also paste the code in there.

    Never edit core CSS or PHP files under Appearance > Editor. Your edits will be deleted when the theme is updated.

    Theme Author Ben Sibley

    (@bensibley)

    Hi Joanna,

    The following can be used for the search icon’s color:

    .site-header .search-form-container button i {
      color: #43b3c4;
    }

    And this will change the color of the button’s background:

    .site-header .search-form-container input.search-submit {
      background: #43b3c4;
    }

    Please let me know if I missed an element, or if you have any other questions.

    Thread Starter joanna.boj

    (@joannaboj)

    Ben,

    that aaaalmost does the trick 😉 there’s the icon background left – seems like it’s separate from the other social icons background.

    Thread Starter joanna.boj

    (@joannaboj)

    Ok, I found your answer in another thread. So, fo future reference, this is the whole code for changing all search form elements colors.

    .site-header .search-form-container button i {
      color: #ff48a9;
    }
    
    .site-header .search-form-container input.search-submit {
      background: #BA137B;
    }
    
    .site-header .search-form-container button {
      background: #210316;
    }
    Theme Author Ben Sibley

    (@bensibley)

    Awesome thanks for sharing that Joanna!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘search icon and field background’ is closed to new replies.