Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Shopify CSS Modification – Remove Button Border?

I’m building a development store in Shopify and working on doing minor, local CSS adjustments. I keep running into an issue where the buttons have a border that I am not able to remove by selecting the element and using border: none;.

A link to the store is below with the password. You can choose any button but I’m working on the Coffee Club section at the moment. Even if I use border-radius, a border shows up around the original element. I’m not sure where the border is coming from even after spending some time in the inspector in Chrome to explore the CSS. Two images are attached to show the issue:

Image showing border even when button border is set to none

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Image showing border radius exposes a border on the button. Setting border: none also doesn't work here.

To view the store and source go here: https://analog-coffee-company.myshopify.com/ and use the password: iafort

>Solution :

You have to add the

--border-offset: 0; 

to the tag

"

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading