Shopify themes, liquid, logos, and UX
Hello there,
I need some help with a CSS code to make the border of a button in the slideshow section of my website (Dawn 13.0.1) black on hover, but yellow (like the background) in the "normal" state.
Would be grateful for any help!
DRAWandCARE (https://www.drawandcare.com/)
Solved! Go to the solution
This is an accepted solution.
Please go to
1) Online store
2) Themes -> Edit theme
3) Layout
4) theme.liquid and paste this code before </head>
<style>
.banner__buttons a.button:not([disabled]):hover:after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgb(0 0 0 / 70%), 0 0 0 calc(var(--buttons-border-width) + 1px) rgba(var(--color-button), var(--alpha-button-background)) !important;
}
</style>
This is an accepted solution.
Please go to
1) Online store
2) Themes -> Edit theme
3) Layout
4) theme.liquid and paste this code before </head>
<style>
.banner__buttons a.button:not([disabled]):hover:after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgb(0 0 0 / 70%), 0 0 0 calc(var(--buttons-border-width) + 1px) rgba(var(--color-button), var(--alpha-button-background)) !important;
}
</style>
Thank you so much, it worked great! 💛
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024