tip – button color on single post content

Posted in: Newspaper
Post count: 62

Hi guys, i’m using the single post content block and i noticed that there’s not way to change button colors and other button specs inside the article. Is is possibile to do anything (just like put these on a next theme update)?

Post count: 35449

Hi,

The single post content is a shortcode template for posts, this one do not have any buttons -> https://i.imgur.com/bS1Xi7b.png, maybe the buttons are from your article, please provide me a link where I can check the button and I will provide you an working solution.

Thank you for your understanding!

Post count: 62

Hi Calin

thanks for your reply

see this for example

https://www.tindarobattaglia.it/miglior-smartphone-xiaomi/

Post count: 35449

Hi,

In order to edit this button -> https://i.imgur.com/x2yqnJz.png you need to edit the single post template with tagDiv Composer click on it can check the Style tab -> https://i.imgur.com/PaNzNoH.png

Hope this will help you!
Thank you!

Post count: 62

it’s not that button, i was referring to the buttons inside the article that say “Acquistalo al miglior prezzo su amazon”.

Post count: 35449

Hi,

Yes, that is a button set inside the content, if this is set with classic element you can change the color by selecting the button -> https://i.imgur.com/Po2ommX.png -> https://i.imgur.com/9dlKIP0.png or if the button is set with Gutenberg you can do it like this -> https://i.imgur.com/4lO9bHU.png unfortunately for the moment the hover color can be change only with custom css -> https://i.imgur.com/hLKYQXH.png
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
background-color: #d44 !important;
color: #fff !important;
}

Hope this will help you!
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.