Jump to content

Trying to achieve the perfect single column portfolio

Go to solution Solved by tuanphan,

Recommended Posts

Hallo people of Squarespace.

Im having slight issues with my page, I'm trying to showcase my work in the single column. I already found few posts about this topic and I used the CSS code from master tuanphan.

Problem is that I cannot adjust the thickness of the block. Is there any "width" code to put in? And on mobile the blocks are too thin. I will leave some screenshots of my site and reference to explain my situation.

Any help is much appreciated!

Single row code I'm currently using:

Quote

div#gridThumbs {
    grid-template-columns: repeat(1,minmax(0,1fr)) !important;
}
div#gridThumbs {
    padding-left: 0;
    padding-right: 0;
}

325086690_763149388508782_5950969507437897942_n.png

326416202_597084155762821_588607704590731859_n.png

IMG_3176.jpg

IMG_3177.jpg

Link to comment
  • Replies 8
  • Views 554
  • Created
  • Last Reply

Top Posters In This Topic

On 2/26/2023 at 2:37 AM, LuckyLuke said:

Try adding to Design > Custom CSS

a.grid-item, .grid-image {
    padding-bottom: 20% !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 2/28/2023 at 2:52 PM, tuanphan said:

Try adding to Design > Custom CSS

a.grid-item, .grid-image {
    padding-bottom: 20% !important;
}

 

Perfect! On desktop it looks great. Is it possible to do the opposite, but just for mobile? Looks extremely tiny right now.
Screenshot2023-03-01at17_24_22.thumb.png.c422febfd55c20b8772f44d224b81241.png

Link to comment
  • Solution
On 3/1/2023 at 11:24 PM, LuckyLuke said:

Perfect! On desktop it looks great. Is it possible to do the opposite, but just for mobile? Looks extremely tiny right now.
Screenshot2023-03-01at17_24_22.thumb.png.c422febfd55c20b8772f44d224b81241.png

Use this

a.grid-item, .grid-image {
    padding-bottom: 20% !important;
}
@media screen and (max-width:767px) {
a.grid-item, .grid-image {
    padding-bottom: 70% !important;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.