Jump to content

CSS image code breaking website

Recommended Posts

Site URL: https://www.anterrarpg.com/home

We're trying to get an image to cap the section off so that we can use a ripped page, or a rolled scroll effect. We've managed to get the image to offset and cap off it's section, but in doing so we have broken the website by adding more space to the right side. This has happened because we're overriding the 'overflow' value. when we only need to override the overflow-y, but we can't seem to reference the sub values for overflow... Anyway, does anyone have any ideas as to how to stop the image from bleeding out to the right?

The image we're using is just a placeholder for testing. 😉 Thanks!

    overflow: visible !important;
    overflow: visible !important;

[data-image-id="5fd3c64f4c7e687bf3dba8de"] {
  top: -945px !important;
  left: 50% !important;
  width: unset !important;
  height: unset !important;
  transform: translate(-50%, 0px);


Test page where this code is being applied - OLD INTRO — The World of Anterra (anterrarpg.com)

Current website homepage - The World of Anterra (anterrarpg.com)

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


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.