I saw Trendy Login but that’s for login-required sites. Also saw Page Publishing but seems to also be login-required.
I want to customize this pop-up box by moving stuff around, adding/removing stuff, etc…
I saw Trendy Login but that’s for login-required sites. Also saw Page Publishing but seems to also be login-required.
I want to customize this pop-up box by moving stuff around, adding/removing stuff, etc…
Hello, you can customize the login panel with Make CSS changes on Your Site.
I hope this helps you.
Hi, I saw that earlier too but couldn’t figure the pop-up login box still
And that can be used without requiring login mode?
Kind of a tricky question. So, I want to change the login pop-up box text.
I am currently using CSS to replace the “Log in to your account” text with “Login or Register here!”
.login-subheader {
visibility: hidden;
}
.login-subheader:after {
content:'Login or Register here!';
visibility: visible;
}
The problem is, the result is this, where it should be to the left like the original text is…
But that’s because the original, “Log in to your account” is simply hidden, not gone, so what’s really there is:
So is there a way to just directly change the HTML here instead of using whacky CSS tricks?
Search for the text you wish to replace here and change it:
/admin/customize/site_texts
More info:
Is that only simply changing text, though, or can I use HTML in it?
EDIT: after trying a simple <b></b>
test, looks like you cannot use HTML on there…so I need a better solution.
No, HTML will be stripped.
https://meta.discourse.org/t/customize-any-text-in-discourse/36092/73?u=omarfilip
I’m not sure how to do line breaks with CSS in between words/sentences, though. Is that even possible? Or bolding certain words in a sentence, etc.
I’d recommend doing a tutorial at somewhere like CSS Tutorial
If you want to make these kinds of changes you will need some basic knowledge.
Actually, the one thing that won’t be stripped out is line breaks, so <br><br>
will work.
I have already posted some general links to help you with learning CSS and customizing your forum here:
Hmm, not working for me?
Hello
Edit the text in /admin/customize/site_texts
To this format
Than add the following to CSS.
.d-modal {
&.login-modal {
.login-subheader {
white-space: pre-line;
}
}
}
Result
Thank you so much!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.