Cart Button

On this theme i downloaded, if i click anywhere on the right side of the page it opens the cart. Just wondering how I could fix this. I think its simething to do with the svg like shown in the screenshot.

If anyone knows how to fix this, that would be greatly appreciated!

Hi @Air12

You can add this code to Custom CSS of your Online Store > Themes > Customize > Theme settings to check

.header__icon--cart { overflow: hidden; }

If it is still not solve the issue, please share the link of your store so I can check.

Hi @Air12

Can you share you store link ( with password if needed) so we can figure out problem.

https://c5c6be-29.myshopify.com/ this is my store I removed the password aswell.

@Dan-From-Ryviu

Please add this code to Custom CSS of your Online Store > Themes > Customize > Theme settings to check

.header__icon--cart { overflow: hidden; }

that worked thankyou so much!!

1 Like

Step 1: Go to Shopify Admin → Online Store ->Theme →

Edit code Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result: Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

you are very welcome!