Listing slider image sizes

This topic contains 1 reply, has 2 voices, and was last updated by  Kor 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #372568

    Ben Thompson
    Free User
    Post count: 13

    Hi, Im having a problem with different image sizes in the listing slider widget. one image is bigger than the other and it messes it up. See example trustedyorkshire.com/directory . One image is portrait and one landscape. Anything I can add to the custom CSS to just align them to the bottom of the container and keep the titles the same?

    Thanks in advance.

    #372591

    Kor
    Moderator
    Post count: 16516

    Hi Ben,

    Try using the custom CSS code below and see if it works. Insert into GD > Design > Scripts > Custom Style CSS

    
    
    li.geodir-listing-slider-widget img:nth-child(3) {
       min-height: 200px;
        object-fit: cover;
    }
Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount