Jump to content

Mobile margin & spacing for Gallery Grid: Simple

Recommended Posts

Hi I am needing to adjust the padding on left & right for mobile only on the gallery section of this page: naanoodaa.co/journal (pw: salim). This is the code I tried for the above but it was not working, it worked to target that section for the page padding but not for desktop-only. Hmmm. 

I also would like to stack the gallery images 1 per row instead of 2 per row. I've tried targeting with CSS but again, unsuccessful. 

Screenshot 2024-05-14 at 9.33.09 AM.png

Link to comment
  • Replies 1
  • Views 82
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

You are using min-width here which applies the code to desktop only not mobile, use max-width for mobile.

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

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.