Remove cart icon on homepage

Topic summary

A user seeks to temporarily hide the cart icon on their e-commerce site (byorto.com) using the Berlin theme, for both desktop and mobile views.

Proposed Solution:

  • Add custom CSS to hide the cart icon
  • Target classes like .site-header .cart-icon with display: none !important;

Implementation Options:

  1. Insert CSS into theme files (theme.css.liquid or styles.css.liquid)
  2. Use the theme customization interface: navigate to header settings and paste code into the custom CSS area at the bottom
  3. Alternatively, comment out the cart icon directly in liquid template files

Status: The discussion remains open with the original poster asking for clarification on exact placement of the CSS code. A screenshot was shared showing where to paste the custom CSS in the theme editor.

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

www.byorto.com

How do I temporarily remove the cart icon on both desktop and mobile? This option should not be available at all.

Theme: Berlin

Hello @orchiworld
please provide password

Hi,

theme.css.liquid, or styles.css.liquid or similar
Need to use custom css

Example

.site-header .cart-icon,
.site-header .cart-icon img {
  display: none !important;
}

Also check cart icon in liquid files and comment it out

1 Like

noaxorto

Where exactly do I paste this?

@orchiworld post it in a .css file or copy it and go theme customization, open the header and see the custom CSS area at the bottom then paste and save it.

1 Like