How to remove shadow from buy buttons?

Solved

How to remove shadow from buy buttons?

empiricalarby
Trailblazer
230 1 53

https://empiricalwater.com/collections/all

 

All of my products have a shadow under buy buttons. How to remove?

 

Thanks

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10132 2403 3037

This is an accepted solution.

Hi @empiricalarby 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.button:before, .shopify-challenge__button:before, .customer button:before, .shopify-payment-button__button--unbranded:before, .shopify-payment-button [role="button"]:before, .cart__dynamic-checkout-buttons [role='button']:before {
    box-shadow: none !important;
}

 

And save. 

And if you dont like to add codes you can locate this one on the base.css file. 

Made4uoRibe_0-1715981082214.png

And change the box-shadow: none; 

Result:

Made4uoRibe_1-1715981110769.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
10132 2403 3037

This is an accepted solution.

Hi @empiricalarby 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.button:before, .shopify-challenge__button:before, .customer button:before, .shopify-payment-button__button--unbranded:before, .shopify-payment-button [role="button"]:before, .cart__dynamic-checkout-buttons [role='button']:before {
    box-shadow: none !important;
}

 

And save. 

And if you dont like to add codes you can locate this one on the base.css file. 

Made4uoRibe_0-1715981082214.png

And change the box-shadow: none; 

Result:

Made4uoRibe_1-1715981110769.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.