WordPress.org

Ready to get started?Download WordPress

Forums

White space above and below image in post (2 posts)

  1. gescobar
    Member
    Posted 2 years ago #

    I have searched through the forums and this question has been asking frequently but there is no simple answer. I want less white space above and below the image I have inserted in my site.

    URL: http://www.2876donamire.com

    Please help with simple instructions. Thanks,

  2. shahar
    Member
    Posted 2 years ago #

    Above the main image
    In custom.css, line 216, your header div (div with id="header") has it's height defined by it's padding. Reduce the bottom padding (in this case 165px) to close the gap:

    #header {
    padding: 35px 0 165px;
    clear: both;
    position: relative;
    }

    Below the main image
    In custom.css, line 301 you have a 15px bottom margin on the main image. Reduce the bottom margin to close the gap:

    .aligncenter {
    text-align: center;
    margin-bottom: 15px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.