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

    (@otto42)

    WordPress.org Admin

    Yeah, your code has some fairly unusual validation issues which you might want to look into. Most of them are probably just errors in your theme.

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.love-censored.net%2Fwordpress%2F

    Edit: Dangit moshu! 🙂

    Thread Starter fadinge

    (@fadinge)

    The page is not loading for me =(

    Is there anything else I could do or would you be able to look at it if you are able to load that page?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Fadinge: Keep trying, the validator can be slow sometimes.

    Basically, it analyses your page and tells you where the problems are with it. You’ll have to go look at your theme (and maybe other places too) to find and correct these problems, but most layout issues can be fixed by making your website validate.

    Thread Starter fadinge

    (@fadinge)

    I have tried but I have just accumulated more errors!

    Would anyone be kind enough to help me with the errors on a more personal level though aim or msn?

    I’ll try to get you started —

    To start with, I see no <body> tag in your HTML. I’m assuming that it should be in place of the <headlayout> tag which isn’t a valid tag. For some reason, you do have a </body> tag

    From there, you may want to look at the errors.

    Error #2 says that you can’t have an <h2>...</h2> block inside of a <p>...</p> block.

    Error #3: Extra </a> tag. Remove it.

    Error #4: You are trying to define a <p> block inside of a list but outside of a list item. Need a <li> block around the <p>...</p>. Actually, really don’t need the <p>...</p> block at all since you are defining a list item.

    The real trick is finding out why you are getting these errors. Most likely, these are in your .php files. I’m uncertian how you layed out your theme, but I would bet the majority of them are in the index.php file.

    Also, the main reason your sidebar is not where it’s supposed to be. Your HTML is very cluttered and with all the errors, it’s very hard to tell, but it seems that your call to get_sidebar() is inside of the <div id="content"> which places it right in the content block.

    Good luck. You really have to fix the HTML before you’ll be able to clearly see what’s wrong with the sidebar.

    Thread Starter fadinge

    (@fadinge)

    Thanx!

    Your main reason was correct!

    The “get sidebar” was in the footer therefore it wouldn’t work lmao!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar in the wrong place!’ is closed to new replies.