This members-only tutorial provides the steps to replace Flexbox-based CSS code for Oxygen's image galleries with CSS Grid-based CSS so that all the images have the same dimensions.



We shall change the number of gallery columns from 4 on larger resolutions down to 3 from 991px and below to 2 from 767px and below to 1 from 479px and below.

Step 1

Add a class of say, grid-gallery to the galleries that you wish to make (all the images) uniform.

Step 2

Add this CSS at Manage > Stylesheets:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($37/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: