I added a button to one of my posts (see attachment) and I was wondering if it's possible to create a hover colour. I went through all the post colour customization options but I couldn't find anything that specified the colour or hover colour of a button. Please let me know - thank you.
Hi,
I added a button to one of my posts (see attachment) and I was wondering if it's possible to create a hover colour. I went through all the post colour customization options but I couldn't find anything that specified the colour or hover colour of a button. Please let me know - thank you.
Hi,
Please go to Appearance → Customize → Custom CSS, then paste the following custom CSS code:
.wp-block-button__link:hover {Change the color properties by your value.background-color: #f4cfd5;
color: black;
}
.wp-block-button__link:hover span {
color: inherit !important;
}
Regards,
PenciDesign.
Thank you so much. You guys are the best.
Hi,
Please replace the previous code with the following code:
.wp-block-button__link:hover { background-color: #f4cfd5; color: black !important; } .wp-block-button__link:hover span { color: inherit !important; }Regards,
PenciDesign.
Thank you so much.