Home › Forums › Support › Changing text colours in widget button This topic has 6 replies, 3 voices, and was last updated 5 years, 7 months ago by Leo. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts September 12, 2018 at 6:51 am #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 September 12, 2018 at 6:57 am #675360 DavidStaff 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 π September 13, 2018 at 1:01 pm #676662 Carole Thank you π π π September 13, 2018 at 1:22 pm #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 September 13, 2018 at 2:10 pm #676715 LeoStaff Customer Support Can you link me to the page in question? September 13, 2018 at 2:11 pm #676716 Carole Hi! The site is not live Do you want admin access? Carole September 13, 2018 at 2:18 pm #676718 LeoStaff 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/ Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In