Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Custom Aspect ratio for portfolio pages

Recommended Posts


I am trying to get the same look for portfolio pages that I can achieve with Gallery pages.

The look i need is image.thumb.png.4278da5431fac3d96610fb8bf49eabe1.png


But with portfolio pages, I get everything in 1:1 aspect ratio.

Even with the custom css code 

.grid-image img {
    object-fit: contain !important;

The image will still be contained inside the 1:1 square.

Would really appreciate if you anybody could help with this.


Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...