Portfolio images auto crop

edited April 15 in wallstreet
Hi,

is it somehow possible to automatically crop the images used for the portfolio, so that every picture has the same dimension?

For now the portfolio overview is using the original size from the picture, but I would need a solution similar to what Instagram does on the account overview...

Here is mine:

Best regards


Comments

  • Hi, @framelife_studio

    Sorry! for such feature you want. However, if your portfolio images are almost in the same dimension then you can set all one in same dimension using custom CSS. Just try the below CSS to paste in the custom CSS box:

    /*portfolio images dimention*/
    .main-portfolio-showcase-media img{
    width: 355x;
    height: 455px;
    }
    /*portfolio images dimention*/

    *For width height, you can change value 355 and 455 as per need.

    Let me know did it work!

    Thanks

  • Hi @imraz

    Thank you for you answer. It almost worked. I used now this solution:

    /*portfolio images dimention*/
    .main-portfolio-showcase-media img{
    object-fit: cover;
      width: 355px;
      height: 455px;
    }
    /*portfolio images dimention*/


    Best regards
Sign In or Register to comment.