REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
Line breaks for blog titles?
-
Hello all,
We're having trouble with titles that we want to have line breaks, like this:
We managed to put a <br> in the title text itself, and it works to create the line break... but now the title of the window shows the <br> in it.
URL for reference:
https://www.goodvibes.news/preview/blog/9-Soft-skills---de-quoi-on-parle-vraiment--.html?t=3What is a good way to do this?
-
Bump
-
Hey,
Well I don't have a solution for you, did you try with \r\n which are non displayed characters? -
Sadly, this is even worse, it is now displayed in the title!
Any suggestions very welcome...
-
my current best solution:
$("[blog-component=blog-title] span:last-child").each((id, el) => { $(el).html(el.innerHTML.replace(":", ":<br>")) })
-
It seems it's the best solution for what you're trying to achieve