Thanks for helping out, asylum119!
taggymy – the code above will change the paragraph text colour in any text widget throughout your site.
Since you might decide to have a right sidebar on other pages (where the background is white), you could restrict the colour change to footer text widgets. You can do that by targeting a more specific element:
.footer-widget-area .textwidget p {
color: #ffffff;
}
The !important
bit isn’t needed. In CSS it’s (ahem) important to avoid !important
unless absolutely necessary to override something; it can cause great havoc and confusion with CSS inheritance otherwise. Targeting the right element avoids having to use !important
most of the time.
I noticed that you copied most, if not all, of the parent theme’s stylesheet into your child theme. When you make a child theme, you only need to put CSS overrides into your child, nothing else. In other words, only add CSS code in your child when you want to change something from the parent.
If you’d like to learn more about child theming, I found this recent post quite good:
https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/