Jump to content
Sign in to follow this  
Nic727

How to make justified grid?

Recommended Posts

Hi,

 

I would like to have a photography section on my website showing my photos in a justified grid, but how can I do that? I was thinking using masonry at first, but I changed my mind for a justified grid option instead. I'm not sure if it's possible with CSS only or Javascript?

I found this example; https://the7.io/main/gallery/albums-justified-grid/5-albums-justified-grid/

 

Just not sure how to achieve that.

If possible, would like images to be in order from left to right and sometimes, one taking full width and after 2 or 3 columns... A bit like that https://www.narikki.com/mountains-of-new-zealand

 

Thank you

Share this post


Link to post
Share on other sites

The second example is probably just setting the width to either 50% or 100% of the space, and sizing the images to match.  The first link is for a Wordpress theme, are you using Wordpress?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×