Jump to content

White space on mobile for Portfolio space

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Hi, I adjusted the white space above and below of the portfolio using Custom Css. It looks just great (see screenshot 1).
Only, in mobile view, the portfolio items show up on top of the footer (see screenshot 2)

Any idea how I can prevent this please?

Screenshot 2023-11-27 at 16.30.17.png

Screenshot 2023-11-27 at 16.30.36.png

  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
Posted
48 minutes ago, Melchior said:

Only, in mobile view, the portfolio items show up on top of the footer (see screenshot 2)

You're not actually adjusting the white space, you're adjusting the height to a fixed (screen relative) value which doesn't work on mobile. Your easiest fix if you like how it looks is to wrap the code in a media query so it only applies to desktop, you can try this:

@media only screen and (min-width:768px) {
  //// REPLACE THIS LINE WITH YOUR CODE ////
}

 

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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.