Resizing Logos

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

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

Open Support Ticket
  • Author
    Posts
  • #530099

    Jane
    Full Member
    Post count: 41

    Hi

    I have used the following code to resize the logo for a listing, but I have a huge gap under it – see attached. Can you help please?

    I took this from some code supplied to another member. How do I set the height to 200px, then I can fit the logo at 100% instead of 20%.

    ul.geodir-images li img {
    max-width:300px;
    object-fit: contain;
    height: 20%;
    margin-top: 0px;
    ;

    Thank you.

    #530131

    Kor
    Moderator
    Post count: 16516

    Hi Jane,

    Thanks for your post. Could you please share the URL of the page here in question so that we could take a better look at it?

    #530921

    Jane
    Full Member
    Post count: 41
    This reply has been marked as private.
    #530962

    Kor
    Moderator
    Post count: 16516

    Hi Jane,

    Thanks for your reply. Your custom CSS code is making it worse. Could you please remove the custom CSS code that you have applied so that I could check on it?

    #531103

    Jane
    Full Member
    Post count: 41

    This is done:) Thanks

    #531263

    Kor
    Moderator
    Post count: 16516

    Hi Jane,

    Thanks for your reply. You can use the custom CSS code below to correct it.

    .geodir-image-container ul.geodir-images li img {
        object-fit: contain!important;
        height: auto!important;
        width: auto!important;
        min-width: auto!important;
    }
    #531307

    Jane
    Full Member
    Post count: 41

    Thanks – I really only want the logo to be small say 200px high – can that be achieved?

    Thanks

    #531510

    Jane
    Full Member
    Post count: 41
    This reply has been marked as private.
    #531645

    Kor
    Moderator
    Post count: 16516

    Hi Jane,

    Thanks for your reply. I see that you’ve not inserted the correct custom CSS code that I’ve provided above. Could you double check? If you’re not sure, kindly share your Website WP admin access here in private reply and I’ll check this out for you.

Viewing 9 posts - 1 through 9 (of 9 total)

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

Open Support Ticket