Viewing 8 replies - 1 through 8 (of 8 total)
  • Not sure how you edited the title so it somewhat limits a more specific answer however you could do this by adding some CSS

    .textwidget p {
        color: yellow !important;
    }
    Moderator Kathryn Presner

    (@zoonini)

    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/

    Thread Starter taggymy

    (@taggymy)

    I’ve basically copied the entire Sela Theme into a stand alone theme. What is the implication of this action?

    Can i just delete the parent wordpress sela and just run on my activated custom sela?

    thanks for the help!

    Moderator Kathryn Presner

    (@zoonini)

    I’ve basically copied the entire Sela Theme into a stand alone theme. What is the implication of this action?

    The point of making a child theme is to place only the files you need into your child, not to copy the entire thing. It’s a way to make changes to a theme while still being able to continue updating the parent safely, to get the benefit of bug and security fixes, enhancements, and to to make sure it stays compatible with the latest version of WordPress core.

    Can i just delete the parent wordpress sela and just run on my activated custom sela?

    No, when using a child theme the parent theme still needs to remain present in your wp-content/themes folder in order to have the child work correctly.

    Moderator Kathryn Presner

    (@zoonini)

    The only case where I’d recommend not making a child theme is if you have very major changes you want to make. For example, if you find yourself modifying 95% of a theme’s files, then you may be better off either forking the theme into your own, finding a theme that better suits your needs, or crafting something custom based on a starter theme like Underscores.

    Thread Starter taggymy

    (@taggymy)

    Thank you very much for your help Kathryn. Have a great day!

    Moderator Kathryn Presner

    (@zoonini)

    My pleasure. ??

    .footer-widget-area .textwidget p {
    color: #ffffff;
    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do i change the footer widget text color of my site?’ is closed to new replies.