Can Text Alignment Be Set Separately for Mobile Layouts?
-
I’ve noticed that while I can freely adjust the layout (like changing the order of elements or adding different content) between desktop and phone views, typographic adjustments like text alignment (e.g., align left or right) stay synced between both views.
It would be really helpful if alignment settings could also be set independently for mobile, just like layout changes. Is this something that’s possible or planned for future updates?
Thanks in advance!
-
So I think for this, you will have to unsync the text elements or you would have to write custom CSS.
.type-text > * { text-align: left!important; } .type-text p[style], .type-text h1[style], .type-text h2[style], .type-text h3[style], .type-text h4[style], .type-text h5[style]{ text-align: left!important; }
Enter this css in "lay options" -> "custom css & html" -> "custom css for mobile"
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
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