WordPress.org

Ready to get started?Download WordPress

Forums

Reducing space between post and footer (2 posts)

  1. subterranean
    Member
    Posted 2 years ago #

    How do I go about reducing the space between my post content and the footer as seen on my site? I've had a play around in style.css but can't seem to locate the correct line.

    Many thanks :)

  2. Jose Castaneda
    Member
    Posted 2 years ago #

    Generally most pages have a footer id to select it or if it is an HTML5 doctype often times you can just select the tag itself.

    #footer {
      margin-top: -50px;
      }

    Is one way via ID selector.

    footer {
      margin-top: -50px;
      }

    Is another way if your doctype is HTML5. Your best way is by ID selection because with the footer tag there may be more than just one in a given document. Hope that helps a little. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.