New Landing How can we help? Themeforest Theme Support Joyn Standard portfolio detail image stretch

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Joyn
  • #228751
    Acurio
    Member
    Post count: 30

    Hi,

    When I upload an image that is 736×736 and click it in the portfolio to get image details the image get stretched. See URL.

    How can I get the image to either be same as the one uploaded image size or set a fixed hight and width on all images in details image page?

    Br Christian

    #229091
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please add this custom CSS to your theme options:

    .single-portfolio figure.media-wrap img {
        width: inherit;
    }

    Thanks,
    David.

    #229485
    Acurio
    Member
    Post count: 30

    Hi David,

    I added the lines but there as only a slight difference, almost not noticeable. You can go into my page and see that the picture is still stretched in comparison if you download the image and check the 100% size.

    Any ideas?

    Br Christian

    #229561
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    .single-portfolio-split figure.media-wrap img {
      width: auto!important;
    }

    – Kyle

    #230075
    Acurio
    Member
    Post count: 30

    Hi,

    Both of the css suggestions above make the image slightly bigger than not adding any css. I’ve tried with each of them individually and combined.

    Any other suggestions?

    Br Christian

    #230113
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That css I gave you should make the image smaller, it will make it use it’s original size

    – Kyle

    #230414
    Acurio
    Member
    Post count: 30

    Finally I did work, strange. I tried to do it several times with clearing browser history before and it never worked, but now when I wanted to try one last time before posting again it did work.

    Thanks for the help guys!

    #230511
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! No problem 🙂

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register