Site logo

Archived topic

Changing text colours in widget button

6 replies · Started by Carole on September 12, 2018

Viewing posts 1–7 of 7

Hello,

I have use the CSS code Your button text for a widget button.
I wouldl ike to change the colour of the button text and hover text.

Is there a code for this please?

Thanks
Carole

Hi there,

you can add a button in a widget using the HTML widget and this:

<a class="button" href="url">My GP styled button</a>

The button class will use the button colors set in the customiser.

If you want to vary from that then this article explains:

https://docs.generatepress.com/article/adding-buttons/

Let me know :)

Thank you :) :) :)

Hello, me again,

I now have the button but I want to override the text colour from #000000 to #ffffff which is set in GP customise.
Any extra CSS I need to add?

Thanks a million

Carole

Can you link me to the page in question?

Hi!

The site is not live
Do you want admin access?

Carole

This archived topic is closed to new replies.