Jump to content

How can I add more than 4 columns to a grid in a portfolio page

Go to solution Solved by creedon,

Recommended Posts

Hi,

I have a portfolio page that has a grid. Each image in the grid takes you to a "project". The portfolio doesn't let me add more than 4 columns in the grid. And since I have 10 projects, I would very much like to have 5 columns, so the layout would look much tidier.

the page is: https://capybera-parrotfish-rlgb.squarespace.com/pinturas

password is: cachofontana

Thank you

Edited by GMA
adding password and page
Link to comment

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
23 hours ago, creedon said:

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Dear creedon, thanks for your quick response.

the page is: https://capybera-parrotfish-rlgb.squarespace.com/pinturas

password is: cachofontana

Link to comment
On 4/27/2024 at 4:34 PM, creedon said:

Please see the following.

Let us know how it goes.

Hello, creedon, I hope this message finds you well. This solution stopped working the moment I purchased a personal plan (it was working during my trial period). I understand that this is due to script code being only enabled in premium plan. Is there any other way you know about how to put 5 columns in the grid, or another place where I can insert code for this? Thanks in advance.

Link to comment
57 minutes ago, GMA said:

Is there any other way you know about how to put 5 columns in the grid, or another place where I can insert code for this?

Do you want the effect site wide or on the specific Portfolio page is was installed on? It should be possible to get the effect going again we just need to know where so the code can be adjusted.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
6 minutes ago, GMA said:

I'd like the effect on the specific page

Remove the code from where is was previously installed.

Add the following to Website > Pages > Website Tools > Custom CSS.

  /*
  
    begin portfolio grid columns n
    
    License     : < https://bit.ly/3MtSOLx >
    
    Version     : 0.2.1
    
    SS Version  : 7.1
    
    By          : Thomas Creedon < http://www.tomsWeb.consulting/ >
    
    */
    
    @media screen and ( min-width : 768px ) {
    
      body#collection-662577912ab537735b9dd372 .portfolio-grid-basic,
      body#collection-662577912ab537735b9dd372 .portfolio-grid-overlay
      
        {
        
          --columns : 5;
          
          /* do not change anything below, there be the borg here */
          
          grid-template-columns : repeat( var( --columns ), minmax( 0, 1fr ) );
          
          }
          
      }
      
    /* end portfolio grid columns n */

This is specific to the poster s need.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.