Archived topic
Button colour overridden by sidebar colour
3 replies · Started by Adam on June 26, 2019
Just switched to your theme and encountered a small problem.
I have a button I created that activates a mailerlite popup subscription form. I have the popup working correctly, but the colours of the sidebar overwrite my button colours.
I have blue text links for posts in the sidebar and a blue button with text set to white in the sidebar.
The blue text link colour seems to overwrite my button text, so I have a blue button with invisible blue text.
What CSS do I need to set the button text white important? I tried, but can't nail it.
Button can be seen on the bottom of my sidebar.
Hi there,
Try adding this CSS:
.sidebar .widget a.button {
color: #fff;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Damn Leo! That was fast!
Worked a treat. Text is white. I was using the wrong target name it seems. (Still new with this CSS business)
Cheers Leo!
No problem :)