WordPress.org

Support

Support » Themes and Templates » [Resolved] TwentyEleven: how do I remove space after page or post and before footer?

[Resolved] TwentyEleven: how do I remove space after page or post and before footer?

  • Hello!

    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.

    QUESTION:
    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!
    Jan
    [signature moderated]

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    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.

    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; }

    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?

    Thanks!

    http://barewitness.com/

    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.

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

    -Jan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] TwentyEleven: how do I remove space after page or post and before footer?’ is closed to new replies.
Skip to toolbar