Community forum for knowledge and support

Updated 2 weeks ago

Fixing Margin and Blending Sections in Webflow

I'd like there to be .5 rem margin of white on each side of this section when it turns to the ivory color. For some reason the margin is only showing on the left side. How can I fix this?

Also, I'd like the section to stay ivory at the end so it blends into the next section background is that possible?

Read only link
Thanks in advance.

Attachment
image.png
M
S
7 comments

do you have any kind of visual reference for what you are trying to accomplish? Also it appears to stay ivory for me scrolling into the next section - did you figure that one out or?

scroll down into the next section and it turns back to white

yeah not entirely sure why the background layer doesn't appear to obey any kind of settings at all to shift to the left, I'm guessing because of the 100vw

wonder if you can just do an empty div with a border, position fixed, and no click events - it gives you that effect you were going for and maybe even better, depending on what everyone's expectations were.

As for the last section staying ivory, you would have to create a custom interaction that essentially a modified version of the existing ones but doesn't do the "when scrolled out of view"

Attachments
image.png
image.png
image.png

creative solution but it worked! Thank you!

I couldn't figure out the interactions but I used a different hack - put the second section inside the first so the background changes the same, and then added a brown div for the bottom to blend into the next section

Attachment
image.png
Add a reply
Sign up and join the conversation on Slack