81monkeys Posted December 11, 2020 Posted December 11, 2020 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! #collection-5d8154487292d17793324595 { .Index-page { overflow: visible !important; } .image-block-wrapper { 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)
tuanphan Posted December 13, 2020 Posted December 13, 2020 Use this CSS html, body { overflow-x: hidden; }  Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.