Space between more articles and footer area

  • Author
    Posts
  • #1252134

    yiangos
    Member

    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 sporting-u.com.

    #1252415

    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.

    #1252418

    yiangos
    Member

    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?

    #1252430

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

    #1252431

    yiangos
    Member

    thank you so much!!

    #1252436

    Cheers :)

The topic ‘Space between more articles and footer area’ is closed to new replies.