What's your biggest current challenge? Have your say in Community Polls along the right column.

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

Solved

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

empiricalarby
Trailblazer
230 1 52

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 Partner
2305 834 910

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Reply 1 (1)

BSSCommerce-HDL
Shopify Partner
2305 834 910

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now