All things Shopify and commerce
Hi everyone, I have a stylistic css question when it comes to buttons. All of my store buttons are underlined (link rather than primary box button style), I was wondering if there is a way to transition only the underline colour to red #c90013 on hover only? So when a customer hovers the mouse over the button the colour of the underline changes?
URL (Symmetry theme) – https://pantee.co.uk/?_ab=0&_fd=0&_sc=1
Any help or advice on this would be greatly appreciated 🙂
HEllo @emilyaugstudios
Go to online store ---------> themes --------------> actions ------> edit code------->assets-----> main.css
search this code.
.section-footer a:hover {
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-color: rgb(var(--link-color));
text-decoration-thickness: 1px;
}
and replace with this code.
.section-footer a:hover {
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-color: #c90013 !important;
text-decoration-thickness: 1px;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025