Space between more articles and footer area

  • Unknown's avatar

    I would like to limit the space between the footer area and the main body of the webpage. Any help please?

    the blog is http://www.sporting-u.com

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I would like to limit the space between the footer area and the main body of the webpage.

    Part of the space comes from the widget area just below the main body, which you can adjust with this CSS:

    #supplementary {
    	padding-top: 0;
    }

    And the rest of the space is coming from various content elements in the left sidebar, right sidebar, and content area. You can get rid of most of the extra space by setting the margin to zero for several areas:

    #secondary .widget:last-child,
    #tertiary .widget:last-child,
    #image-8 img,
    .widget_facebook_likebox iframe,
    .page-template-showcase-php #content {
    	margin-bottom: 0;
    }

    To adjust this, you should experiment by either changing the “0” to another value or removing some of the selectors from the list until the spacing looks good to you.

  • Unknown's avatar

    it worked.

    excellent, thank you very much!!!!

    one more query please as i have no idea on CSS. Do you know how to limit the spaces between the widgets on the sidebars?

  • Unknown's avatar

    In the example above, take out “:last-child” from the first few selectors where the bottom margin is set.

  • Unknown's avatar

    thank you so much!!

  • Unknown's avatar
  • The topic ‘Space between more articles and footer area’ is closed to new replies.