Support » Fixing WordPress » WordPress Loop with custom fields and layout

Viewing 6 replies - 1 through 6 (of 6 total)
  • Add

    float: right;

    to your .post_img class

    .post_img {
         width: 409px;
         float: right;

    I tried that.
    Is the php correct?

    Why is my footer not below my feed?
    And why are the images aligned to the wrong posts?
    The 1st post featured image is aligning with the 2nd post instead.



    Forum Moderator

    Start by sorting out the markup errors. Then move onto the CSS errors.

    Line 116, Column 31: The align attribute on the div element is obsolete. Use CSS instead. <div id=”body” align=”center”
    How am I supposed to center with our using html align tag?
    I tried CSS, but nothing works.

    Line 133, Column 22: Element p not allowed as child of element h4 in this context. (Suppressing further errors from this subtree.)
    <h4 class=”entry”><p>excerpt headline goes here. Mauris dictum libero id justo‚Ķ

    And I have no clue where these <p> tags are coming from, unless wp puts them there.

    and none of this helps me figure out why the footer isn’t at the bottom centered and the images aren’t aligned.

    all of the css errors are coming from plugins used on different pages.
    except fancy box.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress Loop with custom fields and layout’ is closed to new replies.