No image places 590 px height

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

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

Open Support Ticket

Tagged: , , ,

  • Author
    Posts
  • #32458

    P O
    Expired Member
    Post count: 501

    I added some places to my directory and I noticed a problem with images.

    All the listings with no image (using a default one) show the images box at the top of the place huge, 590px height.

    If there is just one image added its 490 px height. Still showing a lot of white space.

    If there are more than one image its 433 px height. That includes the little thumbnails, so it looks ok.

    Why is this like that ?

    The height should adjust to whatever it is in there. Default no image, one image or more images.

    How can I fix it so i don’t have huge white spaces when there is no image or one image ?

    Thanks.

    #32482

    Guust
    Moderator
    Post count: 29970
    #32496

    P O
    Expired Member
    Post count: 501

    1- No image (using a default one for all the places with no image) 590 px.
    2- Using one image 490 px.
    3- Having more than one image 433 px.

    So your example does not apply here.

    All those 3 display different heights.

    #32501

    Guust
    Moderator
    Post count: 29970

    A default image should not display on the detail page, only on the listings page:
    http://www.2cv.com.au/listings/australia/queensland/red-hill/service/ds-motors/3
    http://www.2cv.com.au/listings/service/

    URLs would be handy so we know what we are discussing.

    #32504

    P O
    Expired Member
    Post count: 501

    Your first link its a 404 error, in the second one I see what you mean.

    In mine the default image its displaying in the detail page as well.

    If this is fixed, there still is a problem with 1 and 2.

    So, why is the default image showing in all listings detail page ?

    #32507

    Guust
    Moderator
    Post count: 29970

    Tested a bit more.
    You can add a default image at
    1. GD > design > listings > Upload listing no image
    or
    2. Place categories > add default image for category.

    First option is the same for all listings site-wide and will show on the detail page.
    Second option can be different for each category and does not show on detail page.

    Option 1: http://wpgeo.directory/attractions/australia/queensland/samford-village/landmark/samford-hotel/
    Option 2. http://www.2cv.com.au/listings/australia/queensland/red-hill/service/ds-motors/

    #32510

    P O
    Expired Member
    Post count: 501

    Ok, I have 1 and its showing everywhere, so lets return to the main thread problem.

    1- No image (using a default one for all the places with no image) 590 px.
    2- Using one image 490 px.
    3- Having more than one image 433 px.

    Thanks.

    #32522

    P O
    Expired Member
    Post count: 501
    This reply has been marked as private.
    #32525

    P O
    Expired Member
    Post count: 501

    A quick fix for this can be:

    .geodir_flexslider .geodir-slides img{width: auto!important;}

    It uses width: 100% and that causes a problem with the plugins/geodirectory/geodirectory-assets/images/spacer.gif image.

    Does it affects anything else ?

    Thank you.

    #32570

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the problem seems to be some other custom css that was added previously?

    
    
    
    .geodir_flexslider .geodir-slides img {
        margin-top: -5px !important;
        width: 100%;
    }

    shouldn’t be there.

    Just removed it and remove the other css you added now and everything should work as in our demo.

    Thanks

    #32573

    P O
    Expired Member
    Post count: 501

    Now that you say that, I checked my theme compatibility thing and I have that CSS there.

    Thank you.

    #32576

    Paolo
    Site Admin
    Post count: 31206

    Glad it was that easy! 🙂

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