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

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

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:

Help this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it asa solution. Thank you :heart_eyes:

1 Like