WordPress.org

Ready to get started?Download WordPress

Forums

unnecessary padding below content (7 posts)

  1. katjo15
    Member
    Posted 2 years ago #

  2. ronangelo
    Member
    Posted 2 years ago #

    add this on your css

    .singular #primary {
        margin-bottom: -20px;
    }
  3. katjo15
    Member
    Posted 2 years ago #

    Thank you for the response.

    Unfortunately, this adjusts the bottom margin for ALL pages. Is there a way to specify margin for a single page using something like .page-id-5

    Is there a way to specify max-height for a single page? If so, this would solve my problem.

    Thank you

  4. ronangelo
    Member
    Posted 2 years ago #

    try this instead

    .one-column #content {
        margin-bottom: -20px;
    }
  5. katjo15
    Member
    Posted 2 years ago #

    Thanks again, Ron. Unfortunately, this still adjusts the bottom margin for all pages content. I am trying to just get rid of the white space on the home page. Thank you!

  6. ronangelo
    Member
    Posted 2 years ago #

    I checked, the last code I posted only affects the homepage.
    the other pages are the "about", "gallery"... right?
    maybe you forgot to remove the first code I posted.

  7. katjo15
    Member
    Posted 2 years ago #

    Yes, those are the other pages. It may be working right now because I just set a max-height for the entire site.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags