I have a unwanted horizontal scroll on my site which I CANNOT for the life of me find! I know this is normally quite a simple problem to fix but I just cannot see it. Its also like the tiniest bit of overflow which bugs me out even more lmao
On your load preloader interaction, start with it as display: none then display: block (or whatever display it should be)
On your hide preloader after it’s moved, reset it to display: none
I think that could be the issue as you’re moving it 125% out of frame, but not hiding it from the DOM (opacity = the element stills exists but it’s just “see-through”, display: none will remove it from view altogether)
Try that and reach out if it’s not it! I know how frustrating these “minor” things really are!
Yeah, there’s a lot of interactions that could be causing this It’s going to be one of the parents.
You could either add a custom bit of code to the site to stop any overflow that happens, or set all of the parent containers to overflow: none. (Don’t add to the body in the designer as that will prevent scrolling)
I actually had this within my sites setting but the overflow-x: was set to inherit? I am not exactly sure on where it would inheriting from, so I did change it to hidden and it works the charm! Thank you for your support Mark!
I should have added the caveat that it’s a last resort.
The better way would be to find the offending parents, and set overflow hidden on those elements. Part of the trouble is adding interactions too early. It’s ideal flow to get the structure right first, as right now you have a site that is unfinished, but still really complex.
I’d save a backup of the site, and start removing sections one at a time until you no longer get the horizintal scroll, then when you know which sections are causing it, add it back and debug from there.