Solved

When my mouse hovers over the add to cart button, I see a blue outline. How to stop that?

empiricalarby
Trailblazer
173 1 30

This button outlines in red, which is fine: https://empiricalwater.com/products/empirical-water

 

All the other products, when you go to the page, outline the add to cart button in blue. That outline needs to be red. How to do this? https://empiricalwater.com/collections/all

 

Thanks

Accepted Solution (1)

BSSCommerce-HDL
Shopify Expert
727 240 251

This is an accepted solution.

Hi @empiricalarby

You can try this code by following these steps:

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

Step 2: Search file base.css, theme.css or styles.css

Step 3: Insert the below code at the bottom of the file -> Save

 

.product-form__submit:not([disabled]):hover::after {
  box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(255, 255, 255, calc(1 - 1.0 )), 0 0 0 calc(var(--buttons-border-width) + 1px) rgba(208, 2, 27) !important;
}

 

Here is result: 

BSSTechVenture_0-1716014009322.png

 

Help 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 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Reply 1 (1)

BSSCommerce-HDL
Shopify Expert
727 240 251

This is an accepted solution.

Hi @empiricalarby

You can try this code by following these steps:

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

Step 2: Search file base.css, theme.css or styles.css

Step 3: Insert the below code at the bottom of the file -> Save

 

.product-form__submit:not([disabled]):hover::after {
  box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(255, 255, 255, calc(1 - 1.0 )), 0 0 0 calc(var(--buttons-border-width) + 1px) rgba(208, 2, 27) !important;
}

 

Here is result: 

BSSTechVenture_0-1716014009322.png

 

Help 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 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency