Jump to content

How to change search bar input text color?

Recommended Posts

10 hours ago, bittermelonbindery said:

Site URL: https://www.bittermelonbindery.com/shop

How can I change the search input text color from white to black? I've tried this code and it doesn't work:

.sqs-search-container input {
    color: black !important;
}

 

Screen Shot 2021-07-26 at 4.28.26 PM.png

It looks like you changed to gray color?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
.sqs-search-ui-button-wrapper.color-light .search-input {
	color: red;
}

Replace red with your desired colour, and place this in your Design > Custom CSS.

Keep in mind that the above code will apply to your light section style.  To make this kind of change to additional site styles look for the color-light equivalent.  eg: it may be color-dark, or color-bright (it should be fairly easy to identify based on the section style you have chosen)

If this is the only section style you are using, the above code should solve your problem.

 

Contact Us for detailed help

Common Squarespace Tips

Sharing Your Site Link

Squarespace web designers in Perth WA.

Link to comment
On 7/27/2021 at 6:29 AM, bittermelonbindery said:

Site URL: https://www.bittermelonbindery.com/shop

How can I change the search input text color from white to black? I've tried this code and it doesn't work:

.sqs-search-container input {
    color: black !important;
}

 

Screen Shot 2021-07-26 at 4.28.26 PM.png

Do you need help on these?

Site URL – https://www.bittermelonbindery.com/

1. (Mobile) Add background color popup?

https://www.bittermelonbindery.com/

bittermelonbindery.com-01-min.png

2. (Mobile) Remove scroll bar in popup?

https://www.bittermelonbindery.com/

bittermelonbindery.com-02-min.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 8/3/2021 at 6:50 AM, bittermelonbindery said:

Yes to both, I appreciate it! Couldn't figure out the background colour. 

Add to Custom CSS

/* Mobile promotional popup color */
@media screen and (max-width:767px) {
div.sqs-slice-group.copy-layer-background {
    background-color: rgb(145, 142, 123) !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.