Jump to content

Disabling and Limiting Search Bar

Go to solution Solved by paul2009,

Recommended Posts

Site URL: http://www.spiritualland.com.sg

Hello everyone!
I have two questions:

1)
I discovered that by adding a /search the back of my website URL (www.spiritualland.com.sg/search), squarespace automatically allows visitors to search the whole website. Is there a way to disable this function, or remove such a page url?

2)
When inserting a search block, I understand it is possible to search the whole site, and to search a particular page. Is it possible to search a selection of few pages instead? eg: a selection of pages under a folder.

Thank you for any solutions or suggestions!

Link to comment
  • Solution
4 hours ago, SAL1570048383 said:

I discovered that by adding a /search the back of my website URL (www.spiritualland.com.sg/search), squarespace automatically allows visitors to search the whole website. Is there a way to disable this function, or remove such a page url?

You cannot remove the url but you can hide the search bar so that the page appears blank, for example by adding this to Design > Custom CSS:

// Hide search bar on search page.
.yui3-widget.sqs-widget.sqs-search-container.sqs-search-page { 
display: none!important;
}

  If a post helps you, please click a "Like" option below  ↘️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.