Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Changing number of columns on single page


bubblefax

Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

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

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

Worked perfectly. Thank you!

Posted Images

2 answers to this question

Recommended Posts

  • 1
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>

image.thumb.png.298b98a7a5b5e0edd0ca06ba445b4105.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...