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:)
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024