Change the default profile image proportions

This topic contains 6 replies, has 2 voices, and was last updated by  Kor 6 years, 8 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #396534

    johnnybgood
    Expired Member
    Post count: 14

    Hello,

    Is it possible to change the default (through code) profile image proportions for the home page listings? By default, the home page displays profile images in landscape proportion, but we need it to instead display in Portrait proportions, say that are equivalent to an image of the following dimensions: 267px by 400px.

    Thank you!

    #396556

    Kor
    Moderator
    Post count: 16516

    Hi johnnybgood,

    Please share the URL of the site in question so we can take a better look at it and also WP temp admin access to your site. You can post the details here using the private reply option below.

    #396598

    johnnybgood
    Expired Member
    Post count: 14
    This reply has been marked as private.
    #396719

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Please insert the custom CSS code into GD > Design > Scripts > Custom Style CSS.

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

    johnnybgood
    Expired Member
    Post count: 14
    This reply has been marked as private.
    #397009

    johnnybgood
    Expired Member
    Post count: 14
    This reply has been marked as private.
    #397199

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Could you try inserting this custom CSS and see if it’s what you’re looking for?

    
    
    #geodir-wrapper-content .geodir_category_list_view .geodir-post-img {
        height: 400px!important;
        width: 267px!important;
    }

    Thanks!

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