Streaming live at 10am (PST)

Can't stop side-scrolling


#1

It's got something to do with the services-ss-container element, but for the life of me I can't figure out why it is causing side-scrolling.

Any help would be greatly appreciated.

http://ideliver.webflow.io/
https://preview.webflow.com/preview/ideliver?preview=7e24813526e8566bdf07688627821111


#2

I figured it out.

For anyone else who comes across this problem, here is what I did wrong (and it's something that a lot of people do wrong).

I had an element, in this case a subtext underneath one of the buttons, that I set to absolute positioning because it made it easier to position it. What I forgot to do was to set its immediate parent element to relative positioning. When I set the subtext element's width to 100%, it went up the tree to find the closet parent element it could with RELATIVE positioning from which to determine its width. Since the immediate parent was set to auto, and not to relative, it skipped over that and took the width of the next element up, which is positioned relative, and it took its width from that.

So, I just switched the immediate parent element positioning to relative, and everything is now hunky dory.


#3

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.