Zwaeback Posted June 4, 2023 Posted June 4, 2023 (edited) Hi, I'm currently working on this site. How would I set the max (displayable) image width to 720 px for the images in the Masonry Gallery on the Artwork/Home page? URL: https://cod-harp-h49h.squarespace.com No password Thanks for your help, Phil Edited June 4, 2023 by Zwaeback
Solution Zwaeback Posted June 5, 2023 Author Solution Posted June 5, 2023 Hi, I think I've mostly solved the problem with the following code, which limits the size of the 4 column gallery width. [data-section-id="647a5dbae5e1f60246ddc224"] .gallery-masonry { max-width: 2955px !important; } Now, I just need to find the code to justify the gallery to the center, rather than the left side. Thanks, Phil
Zwaeback Posted June 5, 2023 Author Posted June 5, 2023 Hi, It looks like I found a way to center the gallery with "margin: 0 auto;" [data-section-id="647a5dbae5e1f60246ddc224"] .gallery-masonry { max-width: 2955px !important; margin: 0 auto; } tuanphan 1
tuanphan Posted June 8, 2023 Posted June 8, 2023 Did you solve or still need help? 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
Create an account or sign in to comment
You need to be a member in order to leave a comment