Hi there!
I need to change my website “BOOK NOW” buttons hover styles (border radius, color, etc) through CSS but unfortunately I can’t get it.
Link via private.
Could you help me please?
Regards
Santiago
Hi Santiago,
Please assign a custom class to the buttons that you want to target in the element options first of all, then let us know exactly what you would like to change.
Best regards,
Rikard
Hi Rikard, I’ve done but didn’t work.
This is the class:
.small-button
And yhis is the css rule:
.small-button avia-button:hover {
color: #8bba34
border: 2px solid red;
border-radius: 5px;
}
Link via private.
Regards
Santiago
Hi,
Try this instead:
.small-button a:hover {
color: #8bba34
border: 2px solid red;
border-radius: 5px;
}
Best regards,
Rikard
Thanks Rikard, I could do it.
But there’s still a grey rectangle arround the buttom. How can I eliminate?
Regards
Santiago
Hi,
Please try adding this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#top #main .small-button a:hover .avia-button.avia-color-light {
border: none;
opacity: 0;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Thanks Mike, it works!
Regards
Santiago
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike