Shopify themes, liquid, logos, and UX
I am not selling anything yet on our website, so need to remove the cart button from my header.
The Flow theme doesn't have base.css or theme.css file so I've been unsuccessful at trying to find code to use on other questions on this forum.
Thanks very much in advance!
Solved! Go to the solution
This is an accepted solution.
Hey, @gillylou
1. Fromm your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.min.css and paste this at the bottom of the file:
header [class*='site-header__cart']{
display: none !important;
}
If you don't have a theme.min.css file:
The name of the CSS file changes from theme to theme, but they're essentially all the same. As long as the file is present within the file theme.liquid, the code will work.
So, if you don't have theme.min.css:
1. go to your theme.liquid file
2. press CTRL + F to trigger the search box.
3. Type in ".css" without the quotes. You will find some CSS files in there - copy its name. It should be something like "name.css"
4. Open "name.css", for example, and paste the code in there.
If it helps you please click on the "like" button and mark this answer as a solution!
Thank you.
Kind regards,
Diego
This is an accepted solution.
Hey, @gillylou
1. Fromm your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.min.css and paste this at the bottom of the file:
header [class*='site-header__cart']{
display: none !important;
}
If you don't have a theme.min.css file:
The name of the CSS file changes from theme to theme, but they're essentially all the same. As long as the file is present within the file theme.liquid, the code will work.
So, if you don't have theme.min.css:
1. go to your theme.liquid file
2. press CTRL + F to trigger the search box.
3. Type in ".css" without the quotes. You will find some CSS files in there - copy its name. It should be something like "name.css"
4. Open "name.css", for example, and paste the code in there.
If it helps you please click on the "like" button and mark this answer as a solution!
Thank you.
Kind regards,
Diego
It worked, thanks so much!!
Hi again,
Thank you so much, it worked! I used the theme.min.css solution. However the cart is still showing when I preview on Mobile - any suggestions?
Thanks again!
Hi did you ever find a solution to this! having the same issue with just mobile showing up now! thank you:)
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025