Different Banner Image in Listings

This topic contains 3 replies, has 2 voices, and was last updated by  Kor 6 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #471038

    Stephanie D’Amico
    Free User
    Post count: 10

    Hey all,
    Is there a way to format GeoDirectory Listings (in supremedirectory format) where the featured image is not the parallax banner in the actual listing? My directory features Doctor Profiles and I want to present their profile pictures as the featured image, but would like a generic image presented in the banner of each listing (every banner the same banner image). I cant seem to figure out the css for that feature, or have yet to come across if that is even an option. Currently it is taking that profile picture massively resizing it with the parallax feature. I have included screenshots of what I am talking about for reference.

    Thanks in advance for your help!

    #471054

    Kor
    Moderator
    Post count: 16516

    Hi Stephanie,

    Thanks for your post. Kindly insert this custom CSS code below into Gd > Design > Scripts > Custom Style CSS to display the entire image without cropping.

    .featured-img {
        background-size: contain!important;
    }
    #471065

    Stephanie D’Amico
    Free User
    Post count: 10

    Thank you for your quick response.

    I inserted the css code that you gave me and, while it was successful in removing the resizing and parallax effect on the featured images within the listing, removed it from the featured picture on the main page. Is there a way to make it specific to just the listing featured images?

    Ideally I would like to have the doctor image just featured on the main listings page and when the consumer goes into the individual listing the banner reflects a generic banner image (ie the main image for the site) since the image would be included in the photos section of the listing anyway.

    For practical reference the site is currently active in development at http://www.advodoctors.com

    #471077

    Kor
    Moderator
    Post count: 16516

    Hi Stephanie,

    I apologize, kindly replace the custom CSS code I’ve provided earlier with the below.

    .single-gd_place .featured-img {
    background-size: contain!important;
    }
Viewing 4 posts - 1 through 4 (of 4 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