WordPress.org

Support

Support » How-To and Troubleshooting » Image centering = padding?

Image centering = padding?

  • r88ster
    Member

    @r88ster

    this is a test site theredbutton.com/wordpress that i am using from a buddy of mine, but this theme is great and i would like to manipulate it a bit.

    i would like to center the main logo img, but do not understand the padding issue that i was told would resolve…perhaps someone can tell me where to change the code?

    here is the existing code from style.css template in WP editor

    __________________________________

    #header .mainlogo{

    width:116px;

    height:124px;

    text-indent:-99999px;

    float: left;

    cursor:pointer;

    background:url(images/df_logo.gif) no-repeat center;

    margin-left: auto;
    margin-right: auto;

    }

    ___________________________________________
    any help would be appreciated.
    Thanks 🙂

  • The topic ‘Image centering = padding?’ is closed to new replies.