Image size on file upload widget

This topic contains 5 replies, has 2 voices, and was last updated by  Guust 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #445999

    Colin O’Mahony
    Free User
    Post count: 59

    Hi
    I am looking to allow my clients to add a certificate image to their listing that will appear on the right sidebar on their details listing. At the moment the preview of the download is cropped; can this be fixed to show the full image?

    Many thanks

    #446018

    Guust
    Moderator
    Post count: 29970

    Can you please post the URL of that page, so we can check the CSS code? Thanks

    #446063

    Colin O’Mahony
    Free User
    Post count: 59
    #446070

    Guust
    Moderator
    Post count: 29970

    Try this CSS:

    
    
    .geodir_Accreditation .geodir-custom-post-gallery .geodir_thumbnail {
        padding: 0px;
        float: left;
        background-position: initial;
        background-repeat: no-repeat;
        background-size: contain;
        min-width: 150%;
        position: relative;
        min-height: 300px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 4%;
    }

    For more CSS tweaks, see https://wpgeodirectory.com/docs/customizing-your-style/

    If you cannot get it right, add WP admin details in a private reply.

    Thanks

    #446118

    Colin O’Mahony
    Free User
    Post count: 59

    Thanks that worked, I just needed to change the 300px 10 100px

    #446128

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

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