I found a solution on stackoverlfow but I am not able to make it work in WeWeb:
I copied the following code from stackoverflow to the custom CSS of my heading in Weweb:
background: #f00 none repeat scroll 0 0;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
color: #fff;
display: inline;
font-weight: 300;
line-height: 1.4;
margin-bottom: 10px;
padding: 0 45px;
But it again makes the background spread the whole textbox instead of seperating lines and stopping at the end of the last word of each line.
Just tried it out this isn’t looking exactly like you want but just wanted to see if it’s possible so you’ll have to mess around with the settings a bit to get it like that but first
Should get you this result, I did mess around with other settings but I think as long as you do a div that is a block with some text inside it should work then just play around with the design to get the desired effect.
Thank you very much Yaj!!!
Thanks to you I could solve it!!!
What it solved for me was creating the div block and then placing the text component inside it, like you said.
On the div block I didn’t even need special css.