Jump to content

Custom gallery (porfolio page) layout in 7.1.

Recommended Posts

How can I make my porfolio page showcase images like in the attach. I was trying to customized it with the next code, but I am obviously missing something.  Can someone help, please?

I search the internet in my quest for an answer, but there was nothing. Help please!

 

#gridThumbs {
  .gallery-grid-wrapper {
    grid-template-columns:
    none ! important;
    display:grid;
    grid-template-areas:
    "small1 small2"
    "big1 big1"
    "big1 big1"
"small3 big2"
    "small4 big2"
   "big3 big3 "
"big3 big3 ";
  }  
 
  a:nth-of-type(1) {
  grid-area:small1;  
  }
  a:nth-of-type(2) {
  grid-area:small2;  
  }
  a:nth-of-type(3) {
  grid-area:big1;  
  }
  a:nth-of-type(4) {
  grid-area:small3;  
  }
 a:nth-of-type(5) {
  grid-area:big2;  
  }
 a:nth-of-type(6) {
  grid-area:small4;  
  }
 
  a:nth-of-type(7) {
  grid-area:big3;  
  }
 
  }

 

exampleCapture.PNG

Link to comment
On 4/13/2021 at 3:23 AM, betsymintontech said:

I have the same question.  The masonary layout is closest but there are some images that would just look better if they took up the whole column.  I need the gallery section though since the lightbox and the ability to scroll through all the pictures after clicking on one is super important.  

 

On 4/12/2021 at 4:13 PM, Lisakunchy said:

How can I make my porfolio page showcase images like in the attach. I was trying to customized it with the next code, but I am obviously missing something.  Can someone help, please?

I search the internet in my quest for an answer, but there was nothing. Help please!

 

#gridThumbs {
  .gallery-grid-wrapper {
    grid-template-columns:
    none ! important;
    display:grid;
    grid-template-areas:
    "small1 small2"
    "big1 big1"
    "big1 big1"
"small3 big2"
    "small4 big2"
   "big3 big3 "
"big3 big3 ";
  }  
 
  a:nth-of-type(1) {
  grid-area:small1;  
  }
  a:nth-of-type(2) {
  grid-area:small2;  
  }
  a:nth-of-type(3) {
  grid-area:big1;  
  }
  a:nth-of-type(4) {
  grid-area:small3;  
  }
 a:nth-of-type(5) {
  grid-area:big2;  
  }
 a:nth-of-type(6) {
  grid-area:small4;  
  }
 
  a:nth-of-type(7) {
  grid-area:big3;  
  }
 
  }

 

Can you share link to portfolio page? We can check it easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

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
  • 1 month later...
  • 1 year later...

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.