kwerling Posted October 29, 2021 Share Posted October 29, 2021 (edited) Site URL: https://www.kwerling.com/ Hi! My portfolio uses the Flatiron template, where the homepage is a gallery of all my project pages. I only have 6 projects at the moment. They look good in 2 rows of 3 columns, but I really dislike when it jumps to 4 columns on larger screens and the second row becomes half empty. I'm fine with it flexing to 2 or 1 columns on smaller screens. I would like to restrict the home gallery design to 3 columns at 1440 px wide screen sizes and above. Screens smaller than that I would like to leave responsive. How can I do this? Edited October 29, 2021 by kwerling Link to comment
tuanphan Posted October 31, 2021 Share Posted October 31, 2021 Add to Design > Custom CSS @media screen and (min-width:1700px) { div#grid { height: auto !important; display: grid; grid-template-columns: repeat(3,1fr); } #grid .item { width: 100% !important; height: auto !important; top: unset !important; left: unset !important; position: relative !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment