Streaming live at 10am (PST)

Negative margins inside a container


#1

Hello guys. All right?

I'm new to the WF and I have a question that took me three hours of attempts. I need to make the image with the man and the woman bigger and with a negative margin down and to the right. But I'm seeing that the container does not allow negative margins so I can resize the image.

Is there any solution to this? I am using two columns inside a container. I already used only two columns but it was not legal and I also tried to use the image outside the container in absolute position.

I imagine that, being new, I still do not know certain possibilities.


#2

Hi @gersonfragoso,

To do so you could make the parent element that contains the image to be position: relative, then make the image position: absolute.

Afterward, you will be able to change the position of that image as you would like: https://css-tricks.com/absolute-positioning-inside-relative-positioning/

If you are still having issues, please share your site using your "Share" link: https://help.webflow.com/article/how-to-enable-a-public-webflow-share-link

Hope this helps :grinning:

  • Micah

#3

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