New Landing How can we help? Themeforest Theme Support Dante Related Post Image Size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #265942
    TriadGoodwill
    Member
    Post count: 43

    Is there a way to make the sizes of the “relate posts” thumbnails smaller and the same for all images (i.e. 150x150px or even 90x90px)? Mine are all different sizes (I assume based on the size of the original file) and I think they are too big.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #266130
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    .related-item figure img {
      object-fit: cover;
    }

    – Kyle

    #266165
    TriadGoodwill
    Member
    Post count: 43

    This did not work

    Attachments:
    You must be logged in to view attached files.
    #266169
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry missed the height, should be:

    .related-item figure img {
      height: 230px;
      object-fit: cover;
    }

    – Kyle

    #266176
    TriadGoodwill
    Member
    Post count: 43

    This worked. Thanks.

    #266182
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 6 posts - 1 through 6 (of 6 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