Streaming live at 10am (PST)

Center an element - feedback appreciated


#1

I'm a bit stuck. On the Mobile portait home page the image directly above the titlle isn't centered. (See Link - https://preview.webflow.com/preview/the-pointless-journey?preview=27019ca313502551b996050baa2acee8

Now i've tried setting the left and right margin to auto and turning it into a flexbox but the image alway appairs slightly to the left of center.

What i'm I doing wrong?

(The image is ok in all other views)


#2

Hi @Jeffrey_Gillespie,

Remove the 88px and 10px margin from the image itself. What's causing this issue is that the container has a right padding of 75px, remove that and it's fine.

All the best,
Naweed


#3

Thank you, that's fixed it.


#4

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