Setting max width for text is overwriting the text alignment
-
Hi Armin,
When I set a specific max-width on a text element, the alignment I configured in the text editor gets ignored and defaults to left alignment.
Is there anything you can do to fix this? I know it’s possible to create a class to force the alignment, that’s easy enough, but it’s inconvenient because you can’t see it in the backend while designing.


Fixing this behaviour is possible?
-
hello!
the text alignment itself stays text align center, as i can see in your screenshot.
however, the text container's position inside of the column is always left aligned yes.i will release an update now where you will have this new setting. just set that to "center":

I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Our Web Development company: 100k.studio
Want to tip me? https://www.paypal.com/paypalme/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it