Support » Fixing WordPress » My header is not centered

  • Resolved carlosmiller

    (@carlosmiller)


    I’m not sure what happened but this is a result of me trying to install a contact plugin, which I haven’t been able to do.

    So it’s has something to do with the header coding, although I have no idea how to fix it and I don’t want to make things worse.

    Any suggestions?

    My blog is http://www.carlosmiller.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Your navbar is not closed properly.

    <ul id="nav">
    <li><a class="current" href="http://carlosmiller.com">home</a></li>
    <li><a href="http://carlosmiller.com/about/">about</a></li>
    <li><a href="http://carlosmiller.com/photos/">photos</a></li>
    <li><a href="http://carlosmiller.com/videos/">videos</a></li>
    <li><a href="http://carlosmiller.com/feed/">RSS2</a><li></div>

    It starts with a UL but ends with a /DIV. That ain’t right.

    Thread Starter carlosmiller

    (@carlosmiller)

    So how can I fix it? I tried removing the </div>, but it ended up affecting the rest of the page where all the font is the same as the font in my header.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Change the </div> to a </ul>.

    Thread Starter carlosmiller

    (@carlosmiller)

    Thank you. I could have sworn I did just that yesterday only for it to get messed up again. Maybe I had forgotten to delete the </div>

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