No image places 590 px height
This topic contains 11 replies, has 3 voices, and was last updated by Paolo 10 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
March 1, 2015 at 3:32 pm #32458
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.
March 1, 2015 at 9:52 pm #32482There should be nothing there at all, see for an example with no images:
http://www.2cv.com.au/listings/australia/queensland/red-hill/service/ds-motors/Here is an example with one image:
http://www.2cv.com.au/listings/germany/saarland/saarbrucken/clubs/happy-ents-saarbruecken/March 2, 2015 at 8:42 am #324961- 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.
March 2, 2015 at 9:42 am #32501A 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.
March 2, 2015 at 9:49 am #32504Your 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 ?
March 2, 2015 at 10:09 am #32507Tested 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/March 2, 2015 at 10:26 am #32510Ok, 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.
March 2, 2015 at 1:18 pm #32522This reply has been marked as private.March 2, 2015 at 1:31 pm #32525A 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.
March 2, 2015 at 5:36 pm #32570Hi,
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
March 2, 2015 at 5:39 pm #32573Now that you say that, I checked my theme compatibility thing and I have that CSS there.
Thank you.
March 2, 2015 at 5:44 pm #32576Glad it was that easy! 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket