Forums

header image not centered (5 posts)

  1. jerseyjoe
    Member
    Posted 5 years ago #

    please see http://www.sprangleblog.com and note the header.

    I can't find anything in the theme's CSS to fix this. Is it configured somewhere else?

  2. Ryan Fitzer
    Member
    Posted 5 years ago #

    Put this in the css file right after the first #headerblock declaration.

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

    Tested.

  3. courtneyelizabeth
    Member
    Posted 5 years ago #

    maybe try:

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

  4. jerseyjoe
    Member
    Posted 5 years ago #

    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.

  5. Ryan Fitzer
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.