WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Full Width Footer twentyeleven child (5 posts)

  1. lucasbhealy
    Member
    Posted 2 years ago #

    I'm trying to make my footer cover the whole width of the screen in a twenty eleven child theme.

    so far I've used CSS to set it to 100% and put the end of the page div above the footer php. This helped make it a little wider, but there are still two tiny slits on both sides of my footer. Any ideas?

    Thank you guys!

  2. timDesain
    Member
    Posted 2 years ago #

    put in style.css

    body {
      padding: 0 !important;
    }
  3. lucasbhealy
    Member
    Posted 2 years ago #

    Thank you so much!

  4. hanshakes
    Member
    Posted 2 years ago #

    Hello, I'd like to make the footer the width of the screen also. I finally figured out how to get rid of the extra page padding at the bottom of the page, but I'd like to know how to put the

    end of the page div above the footer php.
    I'm new to php so detail would be great. Thanks so much.

  5. Kristof De Buysere
    Member
    Posted 2 years ago #

    @hanshakes: in the footer.php file, you find a line with "</div><!-- #page -->" Cut it and paste it, for instance just before "<footer id="colophon" role="content info">"

    It would be best if you make that change in a copy of the footer.php file, which you put in the directory of your child theme.

Topic Closed

This topic has been closed to new replies.

About this Topic