Hide cart icon on Shopify Dawn Theme

Hello,

How do i hide the shopify cart icon on the dawn theme? For both desktop and mobile?

2 Likes

Hello @Stock-Units ,

Follow these steps:

  1. Go to Online Store → Theme → Edit code

  2. Open your base.css file and paste the following code at the bottom:

a#cart-icon-bubble {
    display: none;
}

Regards
Guleria

I already found this code but on mobile the icon is still showing up. On desktop it’s hidden for now..

You have another solution?

Update the code with this one

a#cart-icon-bubble {
    display: none !important;
}

Still showing up on mobile…

Syntax error in your base.css

I didn’t ask to add the code in media min query please remove it.
Or use this alternative solution:
Edit theme.liquid
search for now just before to it add this code