Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m guessing that the ‘Rioja’ description is the second post which is breaking the layout?

    1. If you look at the HTML using fire bug or use chrome to view the page and use inspect element you will see the that the second post is not wrapped in a ‘post’ div like the first post. This will cause the layout to behave differently than you would expect. So something in the template is incorrect and is not rendering your posts HTML as you are expecting it to.

    This is also causing issues with the pipes in the second post appearing under each other rather than being floated I think.

    2. The element which has the float left on it (so that it sits nicely next to the aside) is embedded in an element which is not on the same level as the aside. I have not seen it done this way before so I am surprised this works. I’m not sure it would work for your second post even if the second post was wrapped in a ‘post’ div like the first post?

    So I think there are a number of issues here. In my opinion the first place to start would be to fix the issue with the second post not appearing in a wrapped div with the same css classes as the first post. Once that has been fixed it may be easier to see where the other problems lie?

    Thread Starter Mike Sneed

    (@msneed)

    Thanks so much for the help.. I’ll have to see if I can re-structure it a bit better.. It’s just funny because the first one works well??

    Thread Starter Mike Sneed

    (@msneed)

    I think you put me on the right track! I started over with just the index.php file and am in the process of going over it piece by piece…

    I’m already getting two distinct posts that are holding on to their styling! Thanks!

    no problem 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Next to top post loses styling and breaks layout’ is closed to new replies.