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:)
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024