Jump to content

Help me display 3 pictures on my mobile grid portfolio instead of one

Recommended Posts

  • Replies 4
  • Views 275
  • Created
  • Last Reply

Top Posters In This Topic

Hi there! Can you try adding this to your Custom CSS:

@media only screen and (max-width:768px) {
  .portfolio-grid-basic {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    grid-column-gap: 16px !important;
  }
}

It's not perfect to have 3 columns on mobile, the images get very small and the text doesn't look as good, this should make it 2 columns, maybe a good compromise:

@media only screen and (max-width:768px) {
  .portfolio-grid-basic {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-column-gap: 16px !important;
  }
}

Let me know if that works for you.

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) 

 Did I help? Buy me a coffee?

Link to comment
On 1/6/2023 at 1:35 AM, jeminalinn said:

Would you happen to know how to make the instagram grid show on one line on mobile just like it does on the desktop? Right now it shows 2 pictures per row, which kind of blends in with my portfolio in a strange way.

It will be very small

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div.instagram-block .slide {
    width: 14.2857% !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.