Solved

Change button hover color

isabellemaria
Trailblazer
201 1 26

Hi there,

 

How can I change the hover color of my checkout button?

Bildschirmfoto 2024-06-05 um 18.15.16.png

 

Currently, it shows a black border when I hover over it. I want it to do nothing, except change the mouse symbol like right now.

 

www.taneraskin.com

 

Best regards,

 

Isabelle

Accepted Solution (1)
BSSCommerce-HDL
Shopify Expert
765 249 262

This is an accepted solution.

Hi @isabellemaria, Sorry for the mistake, please try again with this code

.button:not([disabled]):hover::after {
    box-shadow: none !important;
}

Hope 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

Replies 4 (4)

BSSCommerce-HDL
Shopify Expert
765 249 262

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

BSSCommerceHDL_0-1717604544952.png

 

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

BSSCommerceHDL_1-1717604549149.png

 

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

button#CartDrawer-Checkout:hover {
    color: #ffff !important;
    background-color: black !important;
}

Here is result: 

BSSCommerceHDL_2-1717604581648.png

Hope 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
isabellemaria
Trailblazer
201 1 26

Thanks, but this is not what I wanted. I want the button to stay yellow. No border. Thats all.

BSSCommerce-HDL
Shopify Expert
765 249 262

This is an accepted solution.

Hi @isabellemaria, Sorry for the mistake, please try again with this code

.button:not([disabled]):hover::after {
    box-shadow: none !important;
}

Hope 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

Made4uo-Ribe
Shopify Partner
6487 1552 1924

Hi @isabellemaria 

If you only wnat to take out the border on the check out drawer 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#CartDrawer-Checkout:not([disabled]):hover::after {
  box-shadow: none !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1717608994837.png

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.