WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] My header is not centered (5 posts)

  1. carlosmiller
    Member
    Posted 6 years ago #

    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

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    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.

  3. carlosmiller
    Member
    Posted 6 years ago #

    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.

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

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

  5. carlosmiller
    Member
    Posted 6 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.