Max-width issues in new cornerstone

Hi there,

When I tried to set the max-width style option in the new cornerstone for a text column, the text is automatically aligned to the left with no reason.

Thanks

Hi @javduke,

Thanks for writing in.

I could not be able to replicate it in my setup. Please share us your admin credentials so we could check your setup closer.

Don’t forget to set it in a secure note.

Don’t forget also to update your setup to the latest version.

Let us know how it goes.

Thanks.

Hi @nico

Thanks for your answer

I put in the secure note the admin credentials
My theme, plugins and child theme are updated

Thanks

Hello @javduke,

Thanks for writing in! Since the Text Element is within a block-level element, when placing a max-width on it, it will orient to the side of the page by default like this. You can move it to the middle of the column by setting the margin-left and margin-right values to auto on your element, like so:

You can use this technique on most elements like this. Hopefully this helps to point you in the right direction, cheers!

Works perfectly thank you!

You’re most welcome!

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