Page layout with sidebar problem
-
Just designing my WordPress site fairly successfully, but have a slight problem on my home page that I have notice. I have deleted it and redone it but the problem keeps occurring. On all of my other pages the sidebar extends down from the very top on the right, however on my home page it starts fro where the main body of text finishes. How can I fix this please
My site is http://www.ramigrafx.com
Thanks,
Richard
-
You have some closing tag nesting problems on that page.
Validator results.Thanks esmi, but that means nothing to me.
What do I do about this? Everything else is working ok. Should I delete everything and start again?
Try adding this in a child theme or in a custom CSS plugin
.grid-blog-template.page.home .content { width: 70%!important; }How do I find where the problem is so that it can be rectified?
You need to use the validator results – see the line numbers – and then using a browser tool like Firebug – look at View Source and find those line numbers – then you have to track down where that errors is in your code. Start by looking at your content. This explains more:
http://codex.ww.wp.xz.cn/Validating_a_Website
And BTW, you’re absolutely right to fix the real problem – changing CSS isn’t the solution :).
As esmi already pointed out in here comment above, you have incorrectly nested html tags.
Here are a couple resources:
http://webdesign.about.com/od/beginningtutorials/a/aa090407.htm
http://www.ipl.org/div/kidsweb/tags6.htmlThe second one is not meant to be condescending… it can really help if you don’t know html tags.
You need to go back to the content editor on that page that is not displaying properly.. and check your
<ul>tags.EDIT: (dangit WPYogi.. quit doing that to me π
LOL – sorry Josh π (I’m about to get on a plane so I’ll be out of your way soon!)
π Have a safe flight!!!
Thanks for your help, but the reason I am using WordPress is because I don’t understand code to write it myself. The website is in it’s early stages, and the content is saved on my pc. Would it therefore not make sense for me to start again?
The topic ‘Page layout with sidebar problem’ is closed to new replies.