WordPress.org

Ready to get started?Download WordPress

Forums

How to change the background of the footer copyright area? (5 posts)

  1. KristjanT
    Member
    Posted 1 year ago #

    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!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    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"?

  3. KristjanT
    Member
    Posted 1 year ago #

    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!

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    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?

  5. KristjanT
    Member
    Posted 1 year ago #

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

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic