Hi guys, I am having trouble centering my divs that are inside a container. I only have this problem once getting down to mobile… any tips would be helpful :)
here is my read only link; Webflow - Kellsea's Site
Hi guys, I am having trouble centering my divs that are inside a container. I only have this problem once getting down to mobile… any tips would be helpful :)
here is my read only link; Webflow - Kellsea's Site
Hi Kellsea
Change the relative position to static. Overall I’d recommend staying away from using fixed widths too often, this makes it a chore to make your website responsive, especially text.
that did the trick, but what would you recommend to use instead of fixed widths?
@RoryVB sorry if you don’t mind helping me with one more question, im in vertical mobile now and in static but the entire container is off center again and im not sure the work around for this… :) thanks in advance!
To get a basic understanding of structured, you might want to check out the Finsweet Client First V2 docs. They also have many example projects. It might be a bit overwhelming, but it might help you in the right direction.
If you’d like a div to have a certain width, you’d often be better of using max-width instead; this defines the maximum width, but will shrink smaller if necessary.