How can I remove the cart icon from my website's header?

Topic summary

A user seeks to remove the cart icon from their Shopify store header (Minion theme).

Initial Solution:

  • Add CSS code to hide #cart-icon-bubble in the base.css file
  • This approach initially fails due to an unclosed media query in existing CSS

Resolution Steps:

  1. Fix the syntax error by closing the previous media query with a curly bracket
  2. Update CSS to target both desktop and mobile cart icons:
#cart-icon-bubble, #cart-icon-bubble--mobile {
    display: none;
}

Outcome:
The solution successfully removes the cart icon on both desktop and mobile views. One additional user reports the code didn’t work for them and caused issues, but no follow-up troubleshooting is provided for that case.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi i want to remove cart icon from header

theme is minion

Link: https://trading-worldd.myshopify.com

pass: 0

Follow these steps:

  1. Go to Online Store → Theme → Edit code

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

#cart-icon-bubble {
    display: none;
}
1 Like

@Guleria doesnt work..

Issue in your css rule.
Your previous media query

@media (max-width: 992px){

missing closing tag.

Just before my code close it with curly bracket
this one

}

1 Like

its works now! but only on desktop not on mobile

Update the css with this

#cart-icon-bubble, #cart-icon-bubble--mobile {
    display: none;
}
2 Likes

Thank you so much bro!!

1 Like

Hi @tareekshawi

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css

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

Hope you find my answer helpful!
Best regards,
Richard | PageFly

1 Like

Hola, no me funciona! :confused: me dejo la escoba el codigo