Remove Card incon from main menu
-
Hello,
I tried a loto of solution for remonvig the cart icon from header.
– adding php in functions, for exemple :
function remove_nav_cart_link () { remove_action( 'woo_nav_inside', 'woo_add_nav_cart_link', 20); } add_action( 'after_setup_theme', 'remove_nav_cart_link' );
– adding css, for exemple :
.header_top .top_nav .header_socials a.cart_count { display: none !important; } #top .wc-nav li.cart {display: none !important;}#top .wc-nav li.checkout{display: none !important;} #Top_bar a#header_cart { display:none }
etc…
– searching in Customize > Layout > WooCommerce ( but not present ) or in other menus (found nothing )
– trying to modify my theme “Go to \wamp64\www\….\wp-content\themes\yourtheme\includes\header-top-bar-right and comment a line” but woocommece didn’t change my theme files when i installed, so the ligne to fix doest exist.Thanks a lot for your help
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Remove Card incon from main menu’ is closed to new replies.