Guillaume Lauzier
Guillaume Lauzier

Reputation: 196

How to remove woocommerce cart icon from wordpress header

check my website if needed -> backlifeup.com

I've tried all of the following options but nothing seems to work:

In customization I don't have the general https://docs.oceanwp.org/article/190-remove-or-edit-the-woocommerce-menu-icon

Does't work either... https://www.youtube.com/watch?v=rhUZ1XfUb4g https://secondlinethemes.com/disable-the-woocommerce-cart-icon/ https://wordpress.org/support/topic/remove-woocommerce-cart-icon-from-nav-bar/ https://divibooster.com/hide-woocommerce-icon-from-divi-header/ https://wpexplorer-themes.com/total/docs/remove-edit-woocommerce-menu-icon/

Upvotes: 0

Views: 9370

Answers (3)

Tyler Social
Tyler Social

Reputation: 26

I was racking my brain trying to get that to work. Everything I saw pointed to:

.site-header-cart {
    display:none;
 }

But that never worked for me!

So I figured out something that does. Try this:

.cart-contents { display: none !important; }

Upvotes: 1

AddWeb Solution Pvt Ltd
AddWeb Solution Pvt Ltd

Reputation: 21681

simple you can customize your woocommerce website and add CSS code in adddition CSS field

.site-header-cart {
    display:none;
 }

here is screenshot for more understand: https://ibb.co/bQW6CfD

Upvotes: 2

mrwpress
mrwpress

Reputation: 311

I agree with @jangxx, but, here you go:

https://secondlinethemes.com/disable-the-woocommerce-cart-icon/

Upvotes: 1

Related Questions