WordPress.org

Support

Support » How-To and Troubleshooting » How to change the background of the footer copyright area?

How to change the background of the footer copyright area?

  • Hi,

    This is my site http://aboutdoggies.net/
    I can easily change the footer background color on my theme’s options page. However, if I do that it only changes the background for the footer widget area. What I wanna do is change the background of the copyright area to match the outer background of my blog.

    Is there a code I could add to my footer.php file to make it possible?

    I’d really appreciate if someone would help me with this.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Are you working on a Child Theme or does that theme come with a section in the dashboard named something similar to, “Custom CSS” or “Custom Styles”?

    I’m not using a child theme. It’s Vatuma’s Clear Line Theme. I’ve just modified a lot, I guess.

    Yes, it has a Stylesheet (style.css).

    Thanks for the quick answer!

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    When modifying themes you’ve not built from scratch, try using a Child Theme. Child Themes inherit the functionality of your theme, but enable an environment to make modifications without compromising them whence the theme updates.

    You need to add a <div> around your copyright information, then style that div. Perhaps in the footer.php template?

    Thanks for your help. I was able to do it with adding and styling a <div> just like you said.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change the background of the footer copyright area?’ is closed to new replies.