Puddles Posted July 16, 2021 Posted July 16, 2021 Site URL: https://www.pleasedco.com/photo I know you can drag them to rearrange but when i do that everything always jumps around all crazy and then I'm stuck rearranging for much longer. Is there a way to make new uploads go to the top instead of the bottom?
Beyondspace Posted October 3, 2021 Posted October 3, 2021 On 7/16/2021 at 10:34 PM, Puddles said: Site URL: https://www.pleasedco.com/photo I know you can drag them to rearrange but when i do that everything always jumps around all crazy and then I'm stuck rearranging for much longer. Is there a way to make new uploads go to the top instead of the bottom? so to reverse order of this section right? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Beyondspace Posted October 3, 2021 Posted October 3, 2021 You can add to Home > Settings > Advanced > Code Injection > Header document.addEventListener('DOMContentLoaded', function() { const gallerySection = document.querySelector('section[data-section-id="6033ecf586320d5bccee648d"]'); const galleryItems = gallerySection.querySelectorAll(".gallery-masonry-wrapper .gallery-masonry-item"); const galleryOrders = Array.from(galleryItems).reverse(); galleryOrders.forEach(item => { gallerySection.querySelector('.gallery-masonry-wrapper').appendChild(item); }) }) Support me by pressing 👍 if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Archived
This topic is now archived and is closed to further replies.