Jump to content

Reduce top/bottom padding on a portfolio page?

Recommended Posts

Hi there,

I'm currently using a portfolio page as my homepage in Squarespace 7.1. I notice the page isn't fixed (it allows people to scroll up and down at least on a 13" laptop) even though there's literally nothing but one line of text. I've attached a screenshot to this post where you can see the scroll bar on the right side. My other pages (i.e., Art + Photo and Contact) are fixed which I like.

I wonder if there's a code fix to this? I've tried to size down the images (when you hover over the text, an image appears) but it doesn't make a difference. Thank you!

Screen Shot 2020-05-27 at 9.58.12 PM.png

Link to comment
  • Replies 2
  • Views 580
  • Created
  • Last Reply

Looks like the min-height CSS property on the .portfolio-hover and .portfolio-hover-display classes is the culprit. You can fix it by adding custom CSS:

.portfolio-hover {
  position: absolute;
  width: 100%;
}

 

Full stack developer who loves helping people out with anything web related. If you'd like to support me, buy me a coffee!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.