Archived topic
How to set template for search results (using Relevanssi) to no sidebars/default
7 replies · Started by Laura on April 23, 2020
How would I set the template for search results (using Relevanssi) to no sidebars/default template? I am using a child theme for GP. I don't want the sidebars to show up on the search results page.
Thanks.
Hi there,
you should be able to use the Layout Element to disable the Sidebars and set the Display Rules to: Search Results
https://docs.generatepress.com/article/layout-element-overview/
Thank you!
I am using Elementor and found this tutorial.
https://docs.elementor.com/article/357-customize-the-search-results-archive
I'll give the layouts in GP a try as well.
Thanks!
You're welcome
Would this also be the best way to create a page with no primary navigation and no footers and no sidebars? I think I read a support post you answered where you said you had a way other than using Canvas because that way doesn't have any hooks. If I want a clean landing page with a registration form and link to another clean page with a few things but no nav...what's the best way to do that?
Yes my preferred method of creating a 'blank canvas' is to use the Layout Element to remove what i don't need, set the Content width etc...
Perfect! The layouts tool is GREAT!!! Solves all kinds of needs. THANKS for that! :-) Search results working great now!
Awesome - happy to be of help