Jump to content

Disable the entire 'search result page'

Recommended Posts

I want to disable the entire 'search result page' and only use the 'preview results' in the search entry field.
So, the 'enter' key will not forward them to the search results page. Only by clicking a specific preview of a result will lead them to only that post.

Reason, I can not customize the header of the Search result page. And we use different header codes. So setting up global will mess up the rest of the website. It overrules all the pages, instead of the other way around..

Possible solution?!?
Perhaps a disable 'enter' key for a search-entry block code which I inject in the header of a specific page with this search field?

Link to comment
  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

On 3/5/2024 at 10:53 PM, RubenGeuzinge said:

Hi Tuanphan,

example:
https://www.dlgc.nl/search?q=test&f_collectionId=65d86da37f31bc0e0606a439

But the problem is not the styling for the body, but for the header. The resultspage uses the 'global header' but we can not change that one as it will mess us other parts of the website. 

Search Page Header - Change nav item color, button color header background or?

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.