Re: How do you center assets on a landing page?

Anonymous
Not applicable

How do you center assets on a landing page?

It's driving me crazy. Yes, I know you can control the grid, but the grid never gives you a center point on the page. This makes aligning assets a pain in the butt.
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: How do you center assets on a landing page?

I always just use the grid, as you mentioned. If there isn't another way, there should def be an idea made about this!
Nicole_Mossinge
Level 7

Re: How do you center assets on a landing page?

Hi Cezary:

You could click on the background and then open the properties palette at the top right. There you can see the width of the page in pixels.

Then you place your image, click on it, and get its width from the property palette.

Subtract the width of the image from the width of the page, then divide by 2.

Enter the result into the image properties - "Left".


Example:

Your page is 900 pixels wide.

You want to center an image that is 600 pixels wide.

(900-600)/2 = 150

The Left positioning of your image will be "150px"
Anonymous
Not applicable

Re: How do you center assets on a landing page?

Nicole - thanks for the solution, but it's ridiculous to do math just to align images. Can you submit a feature request to your team  to add a midpoint line on visual editor, or guides that are aligned with the middle of the page (rather than randomly)?