Site logo

[Resolved] Related posts padding and margin problem

Home Forums Support [Resolved] Related posts padding and margin problem

Home Forums Support Related posts padding and margin problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2504481
    WPguy

    Hello!

    I’m trying to achieve my related posts to look exactly like here: https://sqilu.com/instagram-pods-save-your-time-and-money/

    And almost did with some css, but for some reason my related posts:

    1) Are aligned too much to the left.
    2) The bottom padding stays too big.

    The screenshot and the link to my sample page are attached.

    Can you please help out with the right CSS?

    Thanks!

    #2504933
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .wp-show-posts-columns#wpsp-311 {
        margin-left: 0 !important;
    }
    .wp-show-posts-columns#wpsp-311 .wp-show-posts-image {
        margin-bottom: 0;
    }

    Note that i am targeting the elements ID #wpsp-311 so that CSS is specific to that WPSP list and not ALL lists.

    #2505078
    WPguy

    Thanks, Dave!

    #2505608
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.