Make the a homepage bar visible only when login.

S Started by Silvia · August 7, 2022 at 5:43 pm · 1 reply 0 voices Last reply 3 years, 10 months ago
S
Silvia Original poster Member
#1

Would you please provide guidance how to hide the bar that contains: Search for all Products + All Categories + Search for non login members?. This bar can be visible only for login members.

Thank you,

Silvia

ST
Spiracle Themes Original poster
#2

Hi Silvia

Thanks for reaching out

Try the CSS below

.header-product-search .search-form-wrapper {
display: none;
}

.logged-in .header-product-search .search-form-wrapper {
display: block;
}

Copy & Paste it in Appearance -> Customize -> Additional CSS

Best Regards

Post a reply

Join the conversation. Be kind — this is a public forum.

Replying to Make the a homepage bar visible only when login.

By posting, your reply becomes public (unless marked private).