Jump to content

how do i customize the search page

Recommended Posts

Site URL: https://grey-lizard-4aa7.squarespace.com/search

squarespace 7.1 

url https://grey-lizard-4aa7.squarespace.com/search

pw  xyzzy

i need to do three things here. 

1) change the placeholder text color 

2) change the white searchbox outline to a different color

3) remove the searchbox  focus outline ( the black outline that appears when you click the box ) 

I really appreciate your time.

 

John  

Link to comment

#1. Add to Design > Custom CSS

.sqs-search-page-input input::placeholder {
    color: red !important;
}

#2. Use this CSS
 

.sqs-search-page-input {
    border-color: green !important;
}

#3. Use this

.sqs-search-page-input {
    outline: none !important;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 months later...
On 10/6/2022 at 1:15 AM, vcRBS said:

Anyway to also remove the sidebar?

 

Add to Settings > Advanced > Code Injection > Footer

<script>
if (document.location.pathname.indexOf("/search") == 0) {
    document.querySelector('body').classList.add('t-search')
}
  </script>
<style>
  body.t-search div#sidebar-one-wrapper {
    display: none;
}
  body.t-search div#content-wrapper {
    border: none;
}
</style>
 

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.