Image size in slider on detail page

This topic contains 17 replies, has 3 voices, and was last updated by  Paolo 7 years, 11 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #305429

    sithonia
    Full Member
    Post count: 63

    I’m trying to adjust the size for the pictures in the slider on the detail page.

    All the photos of the listings are 800×450 px. But I can’t get the slider to show them full-size. Looking with fire-bug there is a max-height of 400 px put on, and therefore the picture never shows up full-size.

    I can’t figure out how to change the max-height to 450px. Can it be done with css, or some other way? Could you please help me?

    #305450

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Do you mind sharing the URL of the site in question so we can take a look? You can use the private reply option below.

    Thanks!

    #305453

    sithonia
    Full Member
    Post count: 63
    This reply has been marked as private.
    #305454

    Kor
    Moderator
    Post count: 16516

    Hi Sithonia,

    Could you try using this custom CSS and see if it fixes the issue there ? Insert into GD > Design > Script > Custom Style CSS

    
    
    .geodir_flexslider .geodir-slides li img {
        max-height:100%!important;
    }

    Thanks!

    #305461

    sithonia
    Full Member
    Post count: 63
    This reply has been marked as private.
    #305466

    Kor
    Moderator
    Post count: 16516

    Hi Sithonia,

    Sorry about that, I think I targetted the wrong class. Kindly replace the code below with the one I’ve shared earlier.

    
    
    #geodir_slider.geodir_flexslider .geodir-slides li img {
        max-height: 100%!important;
    } 
    
    #305467

    Kor
    Moderator
    Post count: 16516

    Sorry, let me rephrase, I mean “Kindly replace the code I’ve shared earlier with the below.”

    #305469

    sithonia
    Full Member
    Post count: 63

    Thanks a lot! That looks much better! There is still a bit of size difference in the thumb nails, but it’s OK, not bothering me too much.

    Thanks!

    #305472

    Kor
    Moderator
    Post count: 16516

    Hi Sithonia,

    Try adding this custom CSS code below and see if it looks better.

    
    
    #geodir_carousel li {
        margin: 5px !important;
    }

    Thanks!

    #305506

    sithonia
    Full Member
    Post count: 63

    No, that didn’t really make any difference. But I noticed another problem. On any slider with a picture in portrait view, the responsive design is broken. Sliders with landscape-view photos are fine.

    #305508

    Kor
    Moderator
    Post count: 16516

    Hi Sithonia,

    Send over your Website WP temp admin credentials and I’ll take a better look at it. You can post the details here using the private reply option below.

    #305511

    sithonia
    Full Member
    Post count: 63
    This reply has been marked as private.
    #305868

    sithonia
    Full Member
    Post count: 63

    Just to correct my previous comment. The responsive design is broken on all sliders, regardless of the picture being portrait or landscape view. But you might have noticed that already.

    #305903

    Kor
    Moderator
    Post count: 16516

    Hi Sithonia,

    I’ve just applied the custom CSS code below into your Website and it should fix the issue there. Could you please check on it?

    
    
    @media only screen and (max-width: 480px) {
    .geodir_flexslider .geodir-slides img {
        max-width: inherit!important;
    }
    }
    #305905

    sithonia
    Full Member
    Post count: 63

    No, it doesn’t look good. There is a white band, a large space, between the picture and the thumbnails below.

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