I want to change the text on the sign in page, but I can’t seem to get a paragraph or line break, what formatting codes, if any, can be used when customizing text?
Most customized text will not allow html. If you want line breaks you’ll need to do that with CSS, I think.
i don’t think this is possible in text replacement tbh. i suspect one could write a plugin or component to do it.
Would an inline style tag work?
Hello,
As I see this section is html-safe
so you can use <br>
to line break.
Markdown also work here.
login_required.welcome_message
Or you can use a theme-component to change the Login required page content.
Like:
I tried <br> and it showed up literally, as if it was in a <pre> block.
I’m trying to change the text in the sign-up or login page, maybe those are handled differently?
Log in to your account <br>second line **THIRD LINE**
I see. I thought you mean the login required page. Yeah it won’t work with the Login and signup modal.
However you can use here what Jay suggested
Like this:
Add this to a theme component CSS section.
p.login-subheader {
white-space: pre-line;
}
Result:
Except Jay had no idea how to do it! Nice work.
nicely done. i forgot about the white-space property.