[HELP] Need to upload portrait featured image

This topic contains 6 replies, has 2 voices, and was last updated by  topi miring 7 years, 9 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #346377

    topi miring
    Free User
    Post count: 3

    Hi guys,
    I really need to upload portrait images as featured image which will be displayed on main listing page. I can’t manage to convert my portrait images as 4:3 aspect ratio as it will stretch the image.

    Is there any way that i can possibly upload portrait image and displayed correctly on the main listing page ?

    tHANKS

    #346425

    Kor
    Moderator
    Post count: 16516

    Hi Topi,

    Do you mind sharing the URL of the site in question so we can take a look? I believe we can use custom CSS to prevent it from stretching. You can use the private reply option below.

    Thanks!

    #347274

    topi miring
    Free User
    Post count: 3
    This reply has been marked as private.
    #347386

    Kor
    Moderator
    Post count: 16516

    Hi topi,

    Could you try using the custom CSS code below and see if it’s what you’re looking for? Insert into GD > Design > Scripts > Custom Style CSS. It should force the image to fit the container size.

    
    
    .geodir_category_list_view li .geodir-post-img .geodir_thumbnail {
        background-size: contain!important;
    }
    
    #geodir-post-gallery a .geodir_thumbnail {
        background-size: contain!important;
    
    }
    

    Thanks!

    #347733

    topi miring
    Free User
    Post count: 3

    Hi Kor,
    It works like charm!
    can we do the same with the featured image displayed on the map (check attachment).

    Thanks a lot

    #347736

    Kor
    Moderator
    Post count: 16516

    Hi topi,

    Try this custom CSS below.

    
    
    .geodir-bubble_image .geodir_thumbnail {
        background-size: contain!important;
    }

    Thanks!

    #347742

    topi miring
    Free User
    Post count: 3

    Hi Kor,

    Thanks a lot.. it wokrs & looks nice now 🙂

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