WordPress.org

Forums

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

  1. dramajan
    Member
    Posted 2 years ago #

    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]

  2. Michael
    Forum Moderator
    Posted 2 years ago #

    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
    Member
    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. Michael
    Forum Moderator
    Posted 2 years ago #

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

    Thanks!

    http://barewitness.com/

  6. Michael
    Forum Moderator
    Posted 2 years ago #

    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
    Member
    Posted 2 years ago #

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

    -Jan

Topic Closed

This topic has been closed to new replies.

About this Topic