How can I alter the search bar background color on my website?

Solved

How can I alter the search bar background color on my website?

PedroSoares1234
Excursionist
37 1 5

Hi guys! I want to change some background colors of the search bar when there is and there isnt results and i want to change too the background of the search results. Bellow i present to you the images to you guys see what is to change. The color that i want to change all the background to is #e7d7c0.

PedroSoares1234_0-1696777982412.pngPedroSoares1234_1-1696778100880.png

My site is: trend4two.com

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8463 2020 2482

This is an accepted solution.

Hi @PedroSoares1234 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

input#Search-In-Template, .predictive-search.predictive-search--search-template {
    background: #e7d7c0 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696782542523.png
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
8463 2020 2482

This is an accepted solution.

Hi @PedroSoares1234 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

input#Search-In-Template, .predictive-search.predictive-search--search-template {
    background: #e7d7c0 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696782542523.png
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
PedroSoares1234
Excursionist
37 1 5

Thank you very much, that worked!

 

Made4uo-Ribe
Shopify Partner
8463 2020 2482

Welcome, please dont forget also to Like the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.