Remove shopping cart icon
-
I am trying to remove the Them created shopping cart icon from the menu bar. I am using the Venedor child theme and running WordPress 6.4.
Here’s the site: http://vertexwater.com/water/I have tried all these already:
In CSS style sheet
.shopping_cart_outer {
display: none;
}.tc-wc-header-cart { display:none }
.tc-header .tc-wc-menu .nav { display:none }
@media (max-width: 767px) {
.header_cart {
display: none;
}
}.woo-menu-cart {
display: none !important; }And in the functions.php
add_action( ‘init’, ‘woa_remove_header_cart’ );
function woa_remove_header_cart() {
remove_action( ‘storefront_header’, ‘storefront_header_cart’, 60 );
}add_action( ‘init’, ‘jk_remove_storefront_cart’ );
function jk_remove_storefront_cart() {
remove_action( ‘storefront_header’, ‘storefront_header_cart’, 60 );
}None worked. Any other ideas?
The topic ‘Remove shopping cart icon’ is closed to new replies.