C_Fun
6 years agoAdept
404 page
Hello,
Hope you can point us in the right direction. We are hoping to remove the Search Bar when visitors go to a non-functioning page in our community. Could you please point us to the source code where it can be removed. Please see example below.
C_Fun - If by all those non-functional pages you mean all 404s, that should be easy - just look for the page not found template in studio and remove the search component from there. The name of that page is Error404Page. Also, the search component must be in your common header - so, just put the if condition to exclude it from Error404Page and it won't render there.
I hope this helps.