- This topic is empty.
-
AuthorPosts
-
December 12, 2011 at 11:45 am #35603
Historical Forums User
ParticipantIt looks like my wordpress blog post are no longer separated into separate divs. Like all the content is just thrown into the same div. What could have happened?
http://goodwynbuilding.com/blog/
Thanks
December 12, 2011 at 12:19 pm #92531TheDoc
MemberI would look at the template. Either index.php or blog.php – maybe something got changed. Did you update a theme or a plugin?
December 12, 2011 at 12:27 pm #92533Matteo
MemberWell, there is a missing closing after this paragraph:
The results of this test are available as a PDF download.
Home Energy Rating Certificate
Try to correct that, if you have access to your html just remove the two
(that I cannot see in any other posts) and add aMatteo
PS: I don’t think the posts were ever enclosed in divs
December 12, 2011 at 12:28 pm #92534Matteo
MemberSorry, the code got mangled: I meant a closing
and remove the two line break
December 12, 2011 at 12:33 pm #92535Historical Forums User
ParticipantNo I didn’t change any php.
Do you know exactly what part adds divs around the post?This looks normal.
I dont have a blog.php, maybe when I installed it was called single.php?
December 12, 2011 at 12:37 pm #92536Matteo
MemberCheck your latest post as per my previous instructions! I think you messed up the html.
December 12, 2011 at 12:37 pm #92537Historical Forums User
ParticipantClosing didn’t work.
December 12, 2011 at 12:41 pm #92539TheDoc
MemberWell, if you didn’t change anything, I’m guess there were no divs around it in the first place?
So you’re saying you haven’t changed ANYthing and then just out of no where you visited your site and it was screwed up?
December 12, 2011 at 12:51 pm #92520Historical Forums User
ParticipantMaybe you are right, looking back at the Starkers Naked theme there are none.
But yes, I was just adding and previewing a new post I was writing when I noticed the problem.
December 12, 2011 at 1:15 pm #92540Matteo
MemberHave a look at all my previous comments… you missed a closing paragraph tag.
December 12, 2011 at 1:22 pm #92542Historical Forums User
ParticipantParagraph tags are self closing. That has never been a problem on the blog. But I closed the first 3 post anyway.
December 12, 2011 at 2:06 pm #92545Senff
ParticipantSeems like each individual blog post should be wrapped in a container such as
......................
…or something alike, but they’re not. This is usually defined in loop.php I believe. Might want to check if that file has been updated recently?
December 12, 2011 at 2:08 pm #92546Senff
ParticipantAnother thing that’s possible…. Since ALL posts are wrapped in a div with ID “blogPost” (singular!), perhaps your list of blog posts is using the wrong template? Maybe one that should only be used for single posts instead of a listing?
If you have a specific page that lists the posts and you can select a template in the admin, you may want to check there.
December 12, 2011 at 2:52 pm #92552Historical Forums User
ParticipantYea actually I dont think the post are separated in divs. My personal blog is built the same way and it is not separated into divs.
December 12, 2011 at 2:53 pm #92553Historical Forums User
ParticipantI noticed that if I put a clear float at the end of my post it fixes that post. Where would I insert that clear float in the PHP so that I dont have to place it at the end of every post?
-
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.