Jump to content

Stretch a graphic or image beyond padding

Recommended Posts

Hi there,

I'm looking for advice on if it's possible to stretch an image - in this case a graphic of a squiggly line - across a page beyond the padding of the site using code? I want to keep the padding for everything else it's just the one image file. I've attached the mock-up of what I'd like it to look like (the site is currently offline so can't share a link) thanks!

Screenshot 2021-03-22 at 21.18.23.png

Link to comment
  • Replies 3
  • Views 928
  • Created
  • Last Reply
3 hours ago, emilywylde said:

Hi there,

I'm looking for advice on if it's possible to stretch an image - in this case a graphic of a squiggly line - across a page beyond the padding of the site using code? I want to keep the padding for everything else it's just the one image file. I've attached the mock-up of what I'd like it to look like (the site is currently offline so can't share a link) thanks!

Screenshot 2021-03-22 at 21.18.23.png

You can use absolute positioning to stretch the image excced its container and use measurement unit like vw (100vw mean 100% screen width)

Some of the discussion

css - How to make child exceed parent width properly? - Stack Overflow

Full Width Containers in Limited Width Parents | CSS-Tricks

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.