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

6 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, Delivery Date Picker, Youtube Gallery for Squarespace
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 comment
  • 0
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>

image.thumb.png.298b98a7a5b5e0edd0ca06ba445b4105.png

 

Link to comment
  • 0
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?

 

Screen Shot 2021-09-16 at 11.59.11 AM.png

Looks fine here. Can you share link to page in screenshot?

image.thumb.png.85d073449c37b7654e82b9762398b677.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...