Jump to content

Forcing 1 column portfolio & more space on the sides on desktop

Recommended Posts

Hi, I have two questions regarding this page: https://mackerel-corn-g3dd.squarespace.com/ogen-portfolio (and also the wenkbrauwen page and ogen page, same format). I have used a Grid: simple for the portfolio.

1) On desktop, you can see 3 columns. On mobile, it shows 2 columns - but this is very small. Is it possible to force mobile to show only 1 column instead of 2?

2) Is it possible to add more space on the left and right side of the portfolio when viewing on desktop? I have tried adjusting the full / inset settings, but this makes things way too small. 

Thank you! 🙂

Link to comment

Use this in Custom CSS:

@media only screen and (max-width:767px) {
  .gallery-grid--layout-grid .gallery-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr !important;
    padding: 0vw 6vw !important;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
On 5/30/2024 at 8:27 PM, Neutie said:

Perfect, this solves question 1 - on mobile. Thank you! Do you also know how to increase padding on the left and right side of the portfolio, when viewing on desktop?

add this code under

@media screen and (min-width:768px) {
.gallery-grid--layout-grid .gallery-grid-wrapper {
    padding: 0vw 12vw !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.