Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Change search text color on homepage ONLY Dawn theme

Change search text color on homepage ONLY Dawn theme

artiisque
New Member
7 0 0

Hello, I would like to change the search text color in the search box and dropdown on my homepage ONLY. The search text currently in my homepage is white, and is very hard to read against my light green background. Picture provided below as reference:

 

 

artiisque_1-1712458181924.png

 

I would like to change text color to a specific dark green shade ONLY for the search in my homepage, but keep the rest of the white text on my homepage menu like below.

 

artiisque_2-1712458505323.png

 

The search text color on my other website pages looks like below, and I want the search on the homepage to look like this too:

 

artiisque_3-1712458699560.png

 

Please let me know how I can do this, thank you.

 

 

Replies 2 (2)

PageFly-Henry
Shopify Partner
1184 335 292

Hi @artiisque 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save


.predictive-search__result-group p,

h2#predictive-search-products,

input#Search-In-Modal,

label.field__label {

    color: black !important;

}

 

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

artiisque
New Member
7 0 0

Hello, this only changed certain parts of the dropdown as below:

 

artiisque_0-1712460995966.png

 

I would like the rest of the white text to be darker too. Thank you.