Hi there,
How can I change the hover color of my checkout button?
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.
Best regards,
Isabelle
Hi there,
How can I change the hover color of my checkout button?
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.
Best regards,
Isabelle
Hi @isabellemaria ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid
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:
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 ![]()
Thanks, but this is not what I wanted. I want the button to stay yellow. No border. Thats all.
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 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: