Hi,
can we hide or inactive the search bar in the header so only login user can access it. or if any snippet available to do the job
This topic has 6 replies, 2 voices, and was last updated 2 years, 3 months ago ago by Rose Tyler
Hi,
can we hide or inactive the search bar in the header so only login user can access it. or if any snippet available to do the job
Hello,
Try to add the next code in Theme Options > Theme custom CSS:
body:not(.logged-in) .aws-search-form{
display:none !important;
}
Regards
we will use the default search not adv woo search.plugin.
Try the next code
body:not(.logged-in) .et_b_header-search{
display:none !important;
}
or contact us once you add the default search in the header.
Regards
thank you for you quick response.
Yes it works fine, is there anything else you want to do?
Hello,
Great. Thanks for letting us know.
Is there anything else we can help you with?
Regards
Tagged: best selling, header, hide, non-login, search, themes, visitor, woocommerce
You must be logged in to reply to this topic.Log in/Sign up