1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Remove the Shopping Cart and Search icons for logged-out users

Remove the Shopping Cart and Search icons for logged-out users

By default, the platform does not have this option. You can use the following CSS code to remove the Shopping Cart and Search icons for logged-out users.

Please follow the steps below:

1. Go to BuddyBoss > Theme Options

2. Under Custom Codes, enable CSS

3. Append the following:

body:not(.logged-in) .header-aside-inner a.header-search-link, body:not(.logged-in) .header-aside-inner div.cart-wrap { display: none; }

4. Save changes.

Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/

Screenshots

Without code

With code

Was this article helpful?

Related Articles

Contents

Need Support?

Can't find the answer you're looking for?
Support

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.

Not recently active