Jump to content

How do you make a long screenshot image block scrollable?

Recommended Posts

Posted

I want to add a full page screenshot on my portfolio. I want it to have a set height, but be scrollable within those set dimensions. I've tried the other methods on previous posts, but they did not work. 

  • Replies 1
  • Views 443
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Use a code block. Add the image to the code block '<img src="your_link_here".../>'

Set the dimensions of the image as a pixel-based unit.

Set the maximum height or hard-code the height of the code block to your desired dimension.

You should now be able to leverage the 'overflow' CSS property to achieve your desired outcome 😄

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.