Shopify themes, liquid, logos, and UX
Hi, how can I remove the border highlight that shows around all buttons on the website when the cursor is hovering over it? For example:
URL: https://rencafenyc.com/pages/contact
Solved! Go to the solution
This is an accepted solution.
Hi @rencafenyc
- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
.button:not([disabled]):hover:after, .shopify-challenge__button:hover:after, .customer button:hover:after, .shopify-payment-button__button--unbranded:hover:after {
--border-offset: unset !important;
}
Result:
Best,
Liz
Hi @rencafenyc ,
May I suggest to update code these steps:
1. Go to Store Online-> theme -> edit code
2. Assets/base.css
3. Add code below to end of file
body .button:not([disabled]):hover::after,
body .shopify-challenge__button:hover::after,
body .customer button:hover::after,
body .shopify-payment-button__button--unbranded:hover::after {
--border-offset: 0px;
}
This is an accepted solution.
Hi @rencafenyc
- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
.button:not([disabled]):hover:after, .shopify-challenge__button:hover:after, .customer button:hover:after, .shopify-payment-button__button--unbranded:hover:after {
--border-offset: unset !important;
}
Result:
Best,
Liz
Hi,
Please add this css on base.css file
.button:not([disabled]):hover:after
--border-offset: 0px;
}
Hello @rencafenyc,
Here are the steps to apply the necessary changes in your Shopify store:
.button:not([disabled]):hover:after, .shopify-challenge__button:hover:after, .customer button:hover:after, .shopify-payment-button__button--unbranded:hover:after {
--border-offset: unset !important;
}
Let me know if you need further assistance!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025