Skip to content
Public Ticket #17199

Adding a button to a post

Conversation thread

Angela Puzzolanti replied

Customer Reply

Thank you so much. 

PenciDesign Supporter replied

Staff Reply

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.

Angela Puzzolanti replied

Customer Reply

Thank you so much. You guys are the best.

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Custom CSS, then paste the following custom CSS code:

.wp-block-button__link:hover {
    background-color: #f4cfd5;
    color: black;
}
.wp-block-button__link:hover span {
    color: inherit !important;
}
Change the color properties by your value.

Regards,
PenciDesign.

Angela Puzzolanti started the conversation

Conversation Start

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.

Want to join this conversation or access attachments? Sign in first.