Removing cart header button from Flow theme?

Solved

Removing cart header button from Flow theme?

gillylou
New Member
6 0 0

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!

Accepted Solution (1)

diego_ezfy
Shopify Partner
2969 571 910

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

View solution in original post

Replies 4 (4)

diego_ezfy
Shopify Partner
2969 571 910

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

gillylou
New Member
6 0 0

It worked, thanks so much!!

gillylou
New Member
6 0 0

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!  

jenna1399
Shopify Partner
2 0 0

Hi did you ever find a solution to this! having the same issue with just mobile showing up now! thank you:)