التنسيق عند تخصيص النص

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?

إعجاب واحد (1)

Most customized text will not allow html. If you want line breaks you’ll need to do that with CSS, I think.

3 إعجابات

i don’t think this is possible in text replacement tbh. i suspect one could write a plugin or component to do it.

إعجاب واحد (1)

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:

إعجابَين (2)

I tried <br> and it showed up literally, as if it was in a <pre> block.

Both HTML and Markdown works for me. Am I misunderstood something? :slightly_smiling_face:



Screenshot 2023-06-03 at 19.03.12

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:

6 إعجابات

Except Jay had no idea how to do it! Nice work.

4 إعجابات

nicely done. i forgot about the white-space property.

3 إعجابات