WordPress.org

Forums

Image centering = padding? (1 post)

  1. r88ster
    Member
    Posted 7 years ago #

    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 :-)

Topic Closed

This topic has been closed to new replies.

About this Topic