This topic has 11 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Stan Russell
Hey,
As the title says, I don’t know how to turn off this search box in my pages that aren’t product or shop related.
Please help!
Hello,
Go to WP Dashboard > Pages > edit a page and select “Without Sidebar” in “Sidebar Position” field on the right side of the editor.
Best regards,
Jack Richardson.
Hey Jack,
Thanks! Awesome help.
Just another quick question, is there any way to change the search icon in the header to a search box instead of having to click on it or hover on it?
Cheers,
Alon
Also, the fix you told me didn’t get rid of the search box… see here
Hello,
Please provide us with WP Dashboard credentials in private content.
Best regards,
Jack Richardson.
See Private
Hello,
I’ve set Sidebar Position to “Without Sidebar” in the page “Tool Repair”. Please check the page now:
http://storage4.static.itmages.com/i/15/1005/h_1444042346_6912340_97fa79c03e.png
I’ve edited the file header-structure-4.php in Appearance > Editor and added this code to show search box:
<div class="header_search_form"><?php
if(!class_exists('WooCommerce')) {
get_search_form();
} else {
get_template_part('woosearchform');
}
?></div>
and I’ve added this code in Custom CSS for desktop:
.header_search_form .modal-form {
margin: 5px 20px 0px;
}
.navbar-right .navbar-right {
width: 300px;
}
.header_search_form {
width: 200px;
}
.header_search_form .col-xs-10 {
padding-left: 0px;
}
.header_search_form .has-border > div {
margin: 0px;
}
Please check your site now.
Best regards,
Jack Richardson.
HI jack,
Thanks for your help.
Unfortunately, changing this has made the tiles go all weird on the other pages. Could you please change it back to normal?
Thanks again and sorry for being a hassle.
Hello,
I’ve reverted the changes back.
Please clear browser cache and check the site.
Best regards,
Jack Richardson.
Thanks for your help!
Hello alonl,
you are welcome! If you have any questions left – feel free to ask!
Regards,
Stan Russell.
The issue related to '‘Can't Find way to turn of Search in Non-Shop Pages’' has been successfully resolved, and the topic is now closed for further responses