janpeter
Member
Posted 1 year ago #
My wordpress site is for some reason randomly displaying the text/image on some posts underneath the title of that post. I have styled the posts so that when seen on their own, ie http://www.janpeterthompson.co.uk/?p=1110 the spacing between the title, text and images is correct but when I look at multiple posts they sometimes group the title with the text/images ie http://www.janpeterthompson.co.uk/?cat=146. I have tried editing the CS but cant find any value that will solve the problem. I deleted parts of the functions so that there is no date, permalink and comments displayed on any posts and wonder if this could have caused the problem?
Any ideas would be much appreciated.
Cheers, Jan
s_ha_dum (was apljdi)
Member
Posted 1 year ago #
You've got some markup errors that might be causing this. Try to get those straightened out first-- especially the "unclosed p" ones. Until you do that the CSS/layout is going to be unpredictable.
janpeter
Member
Posted 1 year ago #
Thanks for that. I have gone to validate my site and have found seen the errors but I really cant understand where I go about finding them to fix them? I thought wordpress is not using HTML?
All web pages uses HTML. WordPress uses PHP and the database to generate HTML pages.
http://codex.wordpress.org/Validating_a_Website
the aligned images seem to be part of the problem:
try to add something like this to style.css of your theme, possibly at the end:
#entry_content h2 { clear:both; }
janpeter
Member
Posted 1 year ago #
wowsers! that seemed to have worked a treat. Thanks so much.