Ready to get started?Download WordPress


[resolved] TwentyEleven: how do I remove space after page or post and before footer? (7 posts)

  1. dramajan
    Posted 2 years ago #


    Here's my site: http://janprobst.com/

    And a couple of things I've done so far:

    I have created a child theme and footer.php for that child theme, and use those for editing my site.

    I have successfully inserted an image (company logo) into the footer, as well as a copyright line. This edit was made in the child theme's footer.php file, per instructions found in other forum posts.

    There is a space after the end of the content and before the footer on every page and post. How do I remove it (or just make it very small)?

    Thank you!
    [signature moderated]

  2. your current theme is a child theme of 'Graphene' - and there is not much of a company logo in the footer;

    please clarify what you are referring to.

  3. dramajan
    Posted 2 years ago #

    MY BAD!!! That's a different site (yes, that one is graphene).

    Here's the site I'm referring to: http://barewitness.com/

    sorry 'bout that.

  4. the space is caused by an empty textwidget in the 'Footer Area One' widget area (dashboard - appearance - widgets); and obviously would generally get used and expanded if you use footer widgets.

    above your company logo, there is also a small top margin from a p img style, and a top padding from the style of #site-generator;
    reduce them, if you need, by adding these to style.css in your child theme:

    #colophon p img { margin-top: 0; }
    #site-generator { padding-top: 1em; }
  5. dramajan
    Posted 2 years ago #

    Thanks for the code. That did reduce the space after the widget area.

    Is there a way to get rid of the empty widget, since I'm not using it?

    Or alternately, is there a better way to accomplish this (company logo in the footer of every post and page)? Should I put the logo image into footer widget one? And if so, how do I do that, and center it?



  6. Is there a way to get rid of the empty widget, since I'm not using it?

    goto dashboard - appearance - widgets; open the 'Footer Area One' by clicking on the small triange on the right besides the words 'Footer Area One' (where you hopefully find the textwidget) and drag the textwidget into the left space.

  7. dramajan
    Posted 2 years ago #

    Ah! Of course. Thank you! That did it.


Topic Closed

This topic has been closed to new replies.

About this Topic