bubblefax Posted December 7, 2020 Posted December 7, 2020 Site URL: https://lucasswindler.com/photography-places Hello, on my site I have two portfolios; one that requires 3 columns, and another that only has two. But the one with two acts as if there is three (linked here) Is there a code so that I can change there number of columns depending on which portfolio I'm on. Thanks!
Beyondspace Posted December 7, 2020 Posted December 7, 2020 36 minutes ago, bubblefax said: Site URL: https://lucasswindler.com/photography-places Hello, on my site I have two portfolios; one that requires 3 columns, and another that only has two. But the one with two acts as if there is three (linked here) Is there a code so that I can change there number of columns depending on which portfolio I'm on. Thanks! To add code for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced <style> .portfolio-grid-overlay { grid-template-columns: repeat(2,minmax(0,1fr)); } </style> BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
asnyd Posted September 16, 2021 Posted September 16, 2021 On 12/6/2020 at 7:20 PM, bangank36 said: @bangank36 is there a way to make it 1 column? thanks! allison On 12/6/2020 at 7:20 PM, bangank36 said: To add code for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced <style> .portfolio-grid-overlay { grid-template-columns: repeat(2,minmax(0,1fr)); } </style>
tuanphan Posted September 16, 2021 Posted September 16, 2021 12 hours ago, asnyd said: @bangank36 is there a way to make it 1 column? thanks! allison Change number 2 to number 1 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!)
asnyd Posted September 16, 2021 Posted September 16, 2021 @tuaphan i tried that but it's still only half width of the page (see screenshot). this is a "gallery" page type not a standard page?
tuanphan Posted September 19, 2021 Posted September 19, 2021 On 9/17/2021 at 1:59 AM, asnyd said: @tuaphan i tried that but it's still only half width of the page (see screenshot). this is a "gallery" page type not a standard page? Looks fine here. Can you share link to page in screenshot? 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.