Indent after Line break
-
Dear @Richard,
I already have an indent (-2 em) for a text style that works perfectly. Is it possible to have a negative indent as well for line breaks?
https://www.marthekrueger.com/text-2/
This is the custom CSS that I'm using for the negative indent of a new paragraph.
Many thanks and kind regards.
Daniel
-
Dear Daniel
@danny
I understand indenting with text, however because a line break is just white space, would we see the results of it?
I'm a little confused today! 🌝 You know what i mean?
Im sure we can achieve what you have in mind, i just need a little more info.
Talk soon 🌻
Richard
-
Dear @Richard
thanks so much for helping out. So hopefully this screenshot will explain it better: I would like to archive a negative indent within a text (after a line break). What now happens is, that if I do a line break, there is no negative indent.
Hope this explains it well enough?
Thanks again and have wonderfull day,
Daniel -
Dear Daniel
@danny
This one is likely not possible from me sorry as Forum moderator and would require some further coding. Im sure it;s possible but would take some time to research
Something like "Apply CSS to First Line after Linebreak <br>"
https://stackoverflow.com/questions/899252/can-you-target-br-with-css
https://www.codegrepper.com/code-examples/javascript/jquery+get+first+word+before+line+break
Best
Richard
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