Streaming live at 10am (PST)

Centering images


#1

Hi i need some help centering images

After some size the pages stop centering and are left aligned. Not sure what i'm doing wrong.

Screen shot here...

Here is my public share link: https://preview.webflow.com/preview/angel-publicity?preview=78e272969f104cf15a559fcb34695222

Cheers Paul


#2

Paul what's the page? Your site has so many, last time I finally found it but this time can you tell me ? :wink:


#3

http://angel-publicity.webflow.io/como-angel-publicity-copy


#4

Nothing in your design has a dimension except the image. The container width is set to Auto.

So the rule here is the image tries to display at its size wich is 1284px wide. If the window is too small, it shrinks, but when it reaches its size, it stops.

The centering is only an illusion of centering, because of the margins.

It doesn't center when the image stops expanding:

Select your popup and click on that button to center it:


#5

Thats great. is there a way to keep a little bit of padding so the gold still shows at the side say 20 pixels?


#6

You can keep all the padding you want.


#7

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