Ready to get started?Download WordPress


Posts title overlay text and images (6 posts)

  1. janpeter
    Posted 3 years 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

  2. s_ha_dum
    Posted 3 years 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.

  3. janpeter
    Posted 3 years 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?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    All web pages uses HTML. WordPress uses PHP and the database to generate HTML pages.

  5. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #


    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; }

  6. janpeter
    Posted 3 years ago #

    wowsers! that seemed to have worked a treat. Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Topic