How can I hide the cart icon on the Enterprise theme?

Hello,

Does anyone know to to hide the cart icon on all variants (desktop, mobile) of the Enterprise theme, my website will be only for showing dealership cars, so there is no need for a checkout or cart option, yet. Maybe in the future if we’ll gonna have some accessories.

@eMariut Could you please share your store URL? so can check and guide you accordingly

Hello,

Welcome to the Shopify Community.
I read your problem and it seems that I need to analyze your website to provide the solution here.
Would you please share your website URL and if your website is password protected then also provide the password.

Hi @eMariut

Go to Online Store > Themes > Edit code > open theme.liquid file, add this code below after and save file


https://be4647-1c.myshopify.com/ for now this is the link

https://be4647-1c.myshopify.com/ for now this is the link

@eMariut Please add the below line of CSS code at the end of your main.css file. You can find this file under assets folder of your theme

header #cart-icon{
display:none;
}

Result:

The css doesen t work on mobile versions, only on desktop.

This worked the best!