[Support request] Changing text colours in widget button

Home Forums Support [Support request] Changing text colours in widget button

Home Forums Support Changing text colours in widget button

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #675356
    Carole

    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

    #675360
    David
    Staff
    Customer Support

    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 πŸ™‚

    #676662
    Carole

    Thank you πŸ™‚ πŸ™‚ πŸ™‚

    #676680
    Carole

    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

    #676715
    Leo
    Staff
    Customer Support

    Can you link me to the page in question?

    #676716
    Carole

    Hi!

    The site is not live
    Do you want admin access?

    Carole

    #676718
    Leo
    Staff
    Customer Support

    Have you tried giving the buttons a second class so you can style them differently from the customizer?

    Basically follow the instruction of this article:
    https://docs.generatepress.com/article/adding-buttons/

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