kwerling Posted October 29, 2021 Posted October 29, 2021 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?
tuanphan Posted October 31, 2021 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.