WordPress.org

Support

Support » How-To and Troubleshooting » How to remove padding in theme around logo

How to remove padding in theme around logo

  • 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

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove padding in theme around logo’ is closed to new replies.