WordPress.org

Ready to get started?Download WordPress

Forums

How to remove padding in theme around logo (2 posts)

  1. ridgetop12
    Member
    Posted 1 year ago #

    I am trying to reduce the amount of padding around the logo I have in the site title area.

    I currently have this code.

    #site-title a {
    background:url('http://www.ridgetop.org/wp-content/themes/twentyeleven-child/images/logo.png') no-repeat;
    size:cover;
    display:block;
    padding-bottom: -1em;
    padding-top: -1em;
    height:101px;
    width:308px;
    }

    Everything I have tried does not work. The website is http://www.ridgetop.org

  2. DJDoubleXL189
    Member
    Posted 1 year ago #

    The site description is taking up the space below the logo:
    Look for it in your theme. You can remove it, but any updates will overwrite the change.
    <h2 id="site-description"></h2>

    I don't see the same CSS under #site-title a ...I actually see padding-top: 1em;, which you can remove

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.