I recently coded some buttons to be a different color, but in doing so they don’t have a hover over color change animation anymore. How can I add this back in? The buttons I’ve edited on the homepage are the: slideshow button, newsletter button, and footer newsletter button.
What additional code should I add?
Shopify: dayoff.shop
hello @selinadg
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
.slideshow__btn-wrapper>a:hover{
background:#000000 !important;
color: #ffffff !important;
}
#shopify-section-16222160641e5f632a .input-group__btn .btn:hover {
background: #000000 !important;
color: #ffffff !important;
}
#shopify-section-footer .btn.newsletter__submit:hover{
background: #000000 !important;
color: #ffffff !important;
}
3 Likes
@Kinjaldavra thanks this worked!
Is there a way I can add this button hover colour to all buttons on my side?
hello @HollyHuxley
can you please share which button add hover color and which color to add the hover button
2 Likes
Hi,
Thank you for your response!
It is currently black with white text and I would like the hover colour to be white with black text.
Holly
i want the same solution except my buttons which i want to add effects are every “SHOP,EXPLORE.etc.” , i want it to on every button on my website