New Landing How can we help? Themeforest Theme Support Dante Swift page builder recent posts element – Images not lining up sometimes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #286166
    DenMurphy
    Member
    Post count: 1

    Hi,

    I have been having an issue where my recents posts don’t line up neatly. Please see the home page of link sent.

    I searched and found this issue previously: http://www.swiftideas.com/forums/topic/swift-page-builder-recent-posts-element-images-not-lining-up-and-remove-date/

    I tried the solutions provided, and this seemed to work ok until I created a few more Posts. Then my images went out of whack again.

    This is the current custom CSS I have installed as per the above issue from your forum:

    @media only screen and (min-width: 769px) {
    .recent-post figure {
    max-height: 197px;
    overflow: hidden;
    }

    #286322
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    That CSS is wrong for you. That is for the post image + for small screens.

    Your item heights are variable depending on the content + image size. You can test out this to set a minimum height.

    li.recent-post.col-sm-3 {
      min-height: 480px;
    }
    #286453
    DenMurphy
    Member
    Post count: 1

    Thank you David, that solution has worked for me.

    #286630
    David Martin – Support
    Moderator
    Post count: 20834

    Great, no problem.

    – David.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register