• Resolved mmachado22

    (@mmachado22)


    Is there a way to remove the icon product counter that shows how many items you have in your cart on the header?

Viewing 7 replies - 1 through 7 (of 7 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello mmachado22,

    Add below css code into your current active child theme’s style.css file or you can add additional css option in theme customizer(i.e customize -> additional css)

    .cart-contents{
    	display:none;
    }

    Hope this will helps you.

    Thanks.

    Thread Starter mmachado22

    (@mmachado22)

    Thank you for the quick reply. When I enter that code it hides the entire cart. Is there a way to just hide the number inside the cart while keeping the cart icon?

    AddWeb Solution

    (@addweb-solution-pvt-ltd)

    you can try the following css

    .cart-icon > a > span
    {
    	display:none;
    }
    Thread Starter mmachado22

    (@mmachado22)

    Thank you very much that worked, I really appreciate it.
    One last question – can I remove the dropdown when you hover over the cart (it says “no products in the cart”)

    AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Yes you can remove hover effect with the following css

    .cart-icon:hover{
    	display:none;
    }
    Thread Starter mmachado22

    (@mmachado22)

    For some reason that one hides the entire cart when you hover over it (not just the dropdown). Is it possible to hide just the square box underneath? Thanks

    Theme Author themetim

    (@themetim)

    Please use this css

    .cart-icon:hover .mini-cart {
        display: none;
    }
    
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cart icon header’ is closed to new replies.