WordPress.org

Ready to get started?Download WordPress

Forums

Logo Centering (7 posts)

  1. evoulie
    Member
    Posted 3 years ago #

    I can figure out how to get my logo centered on my site (http://churroblog.com). It works fine on my computer but on every other computer I try to get it centered on it stays on the left.

  2. narkiej
    Member
    Posted 3 years ago #

    Set a width for your h2 element, then also add the property: text-align:center;

    Just tried it and it works!

    eg
    h2{position:width: 600px; text-align:center; absolute;top:-8px;center:0px;left:230px;.navigation_spacer img { border: 0;}}

  3. evoulie
    Member
    Posted 3 years ago #

    It doesn't work for me.. and the post titles all are centered instead.

  4. dumcoder
    Member
    Posted 3 years ago #

    <center><a rel="" href="http://churroblog.com" title="Churro Blog"><span class="navigation_spacer"><img src="http://churroblog.com/wp-content/uploads/2010/10/churrobloglogo.png" border="0" alt="Churro Blog" /></span></a></center> ?

  5. dumcoder
    Member
    Posted 3 years ago #

    h2 {
    margin-left: auto;
    margin-right: auto;
    }

    ??

  6. Tara
    Member
    Posted 3 years ago #

    in CSS file of your theme, look for this element:

    a img {

    add this property to this element:

    margin-left:145px;

    note: play and change "140px" figure to your liking.

  7. dumcoder
    Member
    Posted 3 years ago #

    wouldn't recommend that

Topic Closed

This topic has been closed to new replies.

About this Topic