Button Problems

Posted in: Newspaper
Post count: 23

Hi,

I’m trying to get a button in one of my posts, but the text isn’t showing in it until you hover over the button. Then when you hover it changes colour and looks bad.

How do I fix this?

Here’s a link to the post:

https://www.whippedcreamsounds.com/best-free-vst-instruments/

Thanks

Post count: 18283

Hello !

You mean this button: https://www.screencast.com/t/rk6Rjjqf ?

As you can see it shows ok on our side.

Thank you !

Post count: 23

Oh lol sorry the page is deleted. The button where it says piano courses we recommend.

https://www.whippedcreamsounds.com/top-5-piano-vsts-free/

Post count: 18283

Hello !

As you can see here the button can be seen: https://www.screencast.com/t/ivaDW28qqvcZ Is the problem still there, are we looking in the wrong place ?

Let us know if the issue is still there.

Thank you !

Post count: 23

Yeah you can see the text, but not the outline?

Post count: 18283

Hello !

Sorry for misunderstanding your issue.

Here is the CSS for the button background: .wp-block-button:not(.is-style-outline) .wp-block-button__link {
background-color:blue;
}

The code must be inserted here: https://www.screencast.com/t/J1Nxw5s5

I hope this was helpful !

Thank you !

Post count: 23

Pasted the custom CSS and I’m still having this issue?

Post count: 23

The issue I’m having now is that, because the button links to something, the colour of the text is the same as the background colour I want to use.

How do I change that?

The specific colour is: #e596a9

I want to change the writing to white or black.

Post count: 18283

Hello !

For the text you can use this css code: .wp-block-button:not(.is-style-outline) .wp-block-button__link {
color: red;
}

Thank you !

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.