Jump to content

Customize Styling of Search

Recommended Posts

  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply
5 minutes ago, tuanphan said:

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

 

Heyy! That fixes most of the problem.. Do you know how I can change the dropdown colour? and only display the title... The text colour is black but there's some white text

Screen Shot 2020-01-12 at 11.50.29 PM.png

Link to comment
/* text black */
.sqs-search-container-item .sqs-main-content * {
    color: black;
}
/* dropdown color */
.sqs-search-preview-ui .sqs-search-ui-result {
    background: green;
    border-color: green;
}
/* show only title */
.search-result .sqs-content {
    display: none;
}

 

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
7 minutes ago, tuanphan said:

/* text black */
.sqs-search-container-item .sqs-main-content * {
    color: black;
}
/* dropdown color */
.sqs-search-preview-ui .sqs-search-ui-result {
    background: green;
    border-color: green;
}
/* show only title */
.search-result .sqs-content {
    display: none;
}

 

Amazing!! Thank you so much!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.