Lisakunchy Posted April 12, 2021 Share Posted April 12, 2021 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; } } betsymintontech 1 Link to comment
betsymintontech Posted April 12, 2021 Share Posted April 12, 2021 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. Link to comment
tuanphan Posted April 14, 2021 Share Posted April 14, 2021 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
AxelB Posted May 27, 2021 Share Posted May 27, 2021 Hello! Have you found a solution? 🙂 Thanks, Axel Link to comment
houghtoncreative Posted August 25, 2022 Share Posted August 25, 2022 Just did a quick test and managed to make every 3rd image full width with this code .gallery-grid-item { .gallery-grid-item-wrapper { padding-bottom:90%!important; } &:nth-child(3n) { grid-column: span 2; .gallery-grid-item-wrapper { padding-bottom:45%!important; } } } Adjust the padding bottom to control image ratios. tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment