Guest Posted March 17, 2021 Share Posted March 17, 2021 Site URL: https://swan-ferret-9gx2.squarespace.com/sketchbook Hi! How do I limit the amount of columns in a gallery page in version 7.0? I would like to limit it to a maximum of 3 columns wide on desktop (while having a max width so the images don't extend all the way full width), while also having the option to tweak the number of columns in mobile view. I think there is this functionality in 7.1, but I put a priority into having a sidebar navigator, that's why I'm on 7.0 (Wells template). I really like how gallery pages function (both in ease of management and having lightbox style navigation) so I'm avoiding doing this via image blocks. I was wondering if any css code for this exists. (In the midst of making my first squarespace illustration portfolio website. am using this as reference https://fartsforart.com/tagged/Latest) Thank you! Link to comment
Beyondspace Posted March 22, 2021 Share Posted March 22, 2021 Could you enable site wide password to help check current set up? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted March 22, 2021 Share Posted March 22, 2021 Hey! thanks for the reply. Just enabled site wide password: "ineedhelp" To clarify, I was hoping to make these changes to the "SKETCHBOOK" page (a gallery style page) (was experimenting with alternatives for the other pages so you can ignore those!) Link to comment
Beyondspace Posted March 22, 2021 Share Posted March 22, 2021 11 hours ago, GUNKMAN said: Hey! thanks for the reply. Just enabled site wide password: "ineedhelp" To clarify, I was hoping to make these changes to the "SKETCHBOOK" page (a gallery style page) (was experimenting with alternatives for the other pages so you can ignore those!) Password seems not working anymore, but you can follow this article to set the masonry grid style using pure css to limit the column count CSS Masonry layouts: Responsive, Lightweight, and EASY! (w3bits.com) BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted March 23, 2021 Share Posted March 23, 2021 I checked and have changed the password if still you want to take a look! Site: https://swan-ferret-9gx2.squarespace.com/sketchbook Password: ineedhelp2 I will also check out the guide though! thanks Link to comment
Beyondspace Posted March 23, 2021 Share Posted March 23, 2021 12 minutes ago, GUNKMAN said: I checked and have changed the password if still you want to take a look! Site: https://swan-ferret-9gx2.squarespace.com/sketchbook Password: ineedhelp2 I will also check out the guide though! thanks This may helps /* Masonry grid */ .collection-type-gallery.enable-gallery-thumbnails.thumbnail-view #thumbnails { transition: all .5s ease-in-out; column-gap: 30px; column-fill: initial; height: auto !important; } /* Masonry item */ .collection-type-gallery #thumbnails .thumb { margin-bottom: 30px; display: inline-block; /* Fix the misalignment of items */ vertical-align: top; /* Keep the item on the very top */ position: static; -width: auto !important; height: auto !important; } /* Masonry on tablets */ @media only screen and (min-width: 768px) and (max-width: 1023px) { .collection-type-gallery.enable-gallery-thumbnails.thumbnail-view #thumbnails { column-count: 2; } } /* Masonry on big screens */ @media only screen and (min-width: 1024px) { .collection-type-gallery.enable-gallery-thumbnails.thumbnail-view #thumbnails { column-count: 3; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted March 23, 2021 Share Posted March 23, 2021 cool! that seemed to put them into 3 columns! but 2 problems seemed to have come up from this: 1- template does not seem to resize properly (gaps will suddenly get very big, images will start overlapping or extra columns start appearing when window is resized) (this doesn't happen with the default layout) 2- image chronological order has become non-horizontal (1,3,5,2,5,6 instead of 1,2,3,4,5,6 horizontally) but I think this is on the right track so far, thank you for pointing me in the right direction! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.