Support » Fixing WordPress » header image not centered

Viewing 4 replies - 1 through 4 (of 4 total)
  • Put this in the css file right after the first #headerblock declaration.

    #headerblock img {
    display:block;
    margin:0 auto;
    }

    Tested.

    maybe try:

    <div id="headerblock" align="center">
    <img class="images" src="http://sprangleblog.com/images/TajMahal.jpg"/>
    </div>

    Thread Starter jerseyjoe

    (@jerseyjoe)

    To ryanfitzer: That worked perfectly. Thanks!

    To courtneyelizabeth (lovely name, that) – thanks for the response but since the earlier response worked, I haven’t had the need to try yours. But the response is appreciated.

    Great to hear. Do check it in IE/Windows to be sure (I’m on a Mac). You might need to add text-align:center; to the #headerblock for that browser.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘header image not centered’ is closed to new replies.