Justufying Text
-
@arminunruh cool!!! thanks a lot :)
@arminunruh hey armin! after the update of the lay theme my text isn't being justifying.. what should i do?
thanks!
-
Yeah I changed the code a bit.
Try:.lay-textformat-parent ._fliesstext{ text-align: justify; } -
Yeah I changed the code a bit.
Try:.lay-textformat-parent ._fliesstext{ text-align: justify; }@arminunruh super thanks! :)
-
@arminunruh
Is this code still working in 2018?If I create a "paragraph format" and "justify" the sample text using the justify block button, and then apply the format to text in the gridder, there is no change.
I put in the code in the lay options --> custom cssAny help is appreciated!
Thanks -
Dear @omoore
don't forget to put IMPORTANT behind the code:text-align: justify !importantBest!
Marius
-
Dear @omoore
don't forget to put IMPORTANT behind the code:text-align: justify !importantBest!
Marius
@mariusjopen It works now - Thank you!
-
Great! Happy to hear!
-
I'm trying to justify text on a specific mobile page but for the life of me I can't make it work.
@arminunruh could you please tell me how can I target specific text on a mobile only site?
-
hey!
So I think you can find out the slug-* body class:
https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-pagethen in lay options → custom css & html
in css for mobile, do:
.slug-yourslug .text *{ text-align: justify !important; }the .slug-yourslug makes it so its only on that one page
-

of course if you wanted the text to be justified on mobile and desktop you could create a textformat and use text align, the far right icon
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login