tomasDestiny Posted April 18 Share Posted April 18 Hello guys, hope someone can help me. I read several of your posts and tried to use the css code to overwrite Masonry layout in my gallery but no luck. I used this code: @media screen and (min-width:567px) { .masonry-container.sqs-gallery-design-autocolumns{ display: grid!important; grid-template-columns: repeat(3, 1fr) !important; grid-column-gap:0px; padding: 0px; } .masonry-container .masonry-item{ position: absolute!important; transform: none!important; /* width: 100%!important;*/ display: block; padding: 1.5px!important; box-sizing: border-box; } .masonry-container .masonry-item .masonry-thumbnail img { height: 100%!important; width: 100%!important; } } But still have 4 columns between 1025 and 1108px and between 1368 and 1417px. Thanks, Tomás Link to comment
tuanphan Posted April 22 Share Posted April 22 Hi, Can you share link to page where you use masonry? We can check easier 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