Jump to content

Search bar customizing

Go to solution Solved by tuanphan,

Recommended Posts

Add to Design > Custom CSS

.sqs-search-ui-button-wrapper.color-dark .search-input {
    border-color: black;
    color: black !important;
    opacity: 1;
}
.sqs-search-ui-button-wrapper.color-dark .search-input::placeholder {
    color: white;
}

 

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
  • 1 year later...
  • Solution
On 11/6/2022 at 9:38 PM, lucylou12 said:

Hi, I'm trying to get rid of the outline "on click" in my search bar, tried multiple codes, but noting seems to be working. Anyone knows, how to get rid of it? Thank you so much!

https://daffodil-goldfish-8xw8.squarespace.com/
Password: 120896

Add to Design > Custom CSS

.search-input {
    outline-color: transparent !important;
}

 

On 11/6/2022 at 1:49 PM, Cyperpunk-girl-333 said:

Is it possible to make the search bar a Gradient 

.sqs-search-bar {  background: linear-gradient(to right, #EF06C3, #0012FA );
  background: -webkit-linear-gradient(to right, #53d6ff, #666be1);
}  

 

Is it possible to fill in the search bar block with a gradient? 

Use this CSS

.search-input, .sqs-search-ui-button-wrapper {
    outline-color: transparent !important;
    background-image: linear-gradient(to right, #EF06C3, #0012FA ) !important;
    background: -webkit-linear-gradient(to right, #53d6ff, #666be1);
    background-color: transparent !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
On 11/6/2022 at 4:49 PM, Cyperpunk-girl-333 said:

Is it possible to make the search bar a Gradient 

.sqs-search-bar {  background: linear-gradient(to right, #EF06C3, #0012FA );
  background: -webkit-linear-gradient(to right, #53d6ff, #666be1);
}  

 

Is it possible to fill in the search bar block with a gradient? 

@tuanphan

 

On 11/10/2022 at 5:28 PM, Cyperpunk-girl-333 said:

That worked perfectly, thank you. Can i change the default grey text and black text to white?

@tuanphan

Link to comment
  • 1 month later...
On 12/29/2022 at 5:09 AM, Cyperpunk-girl-333 said:

@tuanphan How would i make the text white?

Use this CSS (Design > Custom CSS)

.sqs-search-ui-button-wrapper.color-dark .search-input {
    color: red !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.