Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Exchange ”Your search did not match any documents” to a custom link?


Ibb

Question

Today Search bar replies that some information we have does not exist on our site. It's a disaster.

But if we can replace the text ”Your search did not match any documents'' with a link to a help page, it would be a lot better. Until Squarespace have fixed this problem. Squarespace answer this is on the working-list.

Since the search function seems to work on our blog pages, the help-page should be a blog page.
Also important search-words have a chance to be found there by the Search-function.

Is there any ideas on coding for exchange the answer to a specific link when Search can’t find documents?

Link to comment

4 answers to this question

Recommended Posts

  • 0
On 5/6/2021 at 6:50 PM, Ibb said:

Thanks for the respons @tuanphan! 

Search page URL: https://www.arvesund.com/sok

The blog page I wish to show up instead of ”Your search did not match any documents'': 
https://www.arvesund.com/blogg/https/wwwarvesundcom/blog-page-url/hitta-i-webbplatsen

Thanks in advance!

Add to Design > Custom CSS

.sqs-search-page-notice {
    visibility: hidden;
}
.sqs-search-page-notice:before {
    visibility: visible;
    content: "new text";
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

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