The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[CSS] Adding style for Password Strength Meter

3 posters

Go down

[CSS] Adding style for Password Strength Meter Empty [CSS] Adding style for Password Strength Meter

Post by SarkZKalie September 5th 2018, 11:41 pm

Hello

Today I'll show you how to change Password Strength Meter (PSM) on your Forumotion site.
By default, this PSM should display as this image below, looks not bad
[CSS] Adding style for Password Strength Meter Defaul10
I will stop rambling about this but first I want you to choose carefully between two options below :
- Text only
- Text with background gradient

Second. copy and paste the code you like to Admin Control Panel -> Display -> Colors -> CSS, they are minified

  • Text only

Code:
#pwd_bad,#pwd_middle,#pwd_good{font-size:0;color:#fff;background-image:none}
#pwd_bad:after,#pwd_middle:after,#pwd_good:after{font-size:11px;padding:5px 20px;border-radius:25px}
#pwd_bad:after{content:"I Security LOW";background-color:red}
#pwd_middle:after{content:"II Security MEDIUM";background-color:blue}
#pwd_good:after{content:"III Security HIGH";background-color:green}
[CSS] Adding style for Password Strength Meter Text-o11

  • Text with background gradient

Code:
#pwd_bad,#pwd_middle,#pwd_good{font-size:0;background-color:none;background-image:none;text-shadow:1px 0 2px #000;color:#fff}
#pwd_bad:after,#pwd_middle:after,#pwd_good:after{font-size:11px;padding:5px 20px;border-radius:25px;background:url(//i.imgur.com/vlgig8R.jpg) center no-repeat}
#pwd_bad:after{content:"Security LOW";background-position:0}
#pwd_middle:after{content:"Security MEDIUM";background-position:-175px}
#pwd_good:after{content:"Security HIGH";background-position:-350px}
[CSS] Adding style for Password Strength Meter Text-g11
You can freely change content in the text to your tongue language, or any background color and text color you want.
Note:
Live demo HERE

I choose myself a text one, how about you?
Enjoy.


Last edited by SarkZKalie on July 28th 2020, 10:27 am; edited 1 time in total


[CSS] Adding style for Password Strength Meter Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1418
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

[CSS] Adding style for Password Strength Meter Empty Re: [CSS] Adding style for Password Strength Meter

Post by YoshiGM September 6th 2018, 3:33 am

I saw this code before, but i remember don't worked anymore with the recent updates in the service.
Thanks Wink
YoshiGM
YoshiGM
Active Poster

Male Posts : 1500
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

[CSS] Adding style for Password Strength Meter Empty Re: [CSS] Adding style for Password Strength Meter

Post by SarkZKalie September 6th 2018, 6:30 am

Did not know it had a version before. I just make it clearer and easier to use: D


[CSS] Adding style for Password Strength Meter Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1418
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

[CSS] Adding style for Password Strength Meter Empty Re: [CSS] Adding style for Password Strength Meter

Post by Guest September 6th 2018, 4:08 pm

I do like when people make improvements. Even though it may seems small, it is still well done. The CSS itself can be changed anytime, so it's up to personal beauty. Thanks for sharing this with us. Thumbs up!
avatar
Guest
Guest


Back to top Go down

[CSS] Adding style for Password Strength Meter Empty Re: [CSS] Adding style for Password Strength Meter

Post by Ape September 6th 2018, 5:27 pm

Nice work it looks great Wink keep up the good work


[CSS] Adding style for Password Strength Meter Left1212[CSS] Adding style for Password Strength Meter Center11[CSS] Adding style for Password Strength Meter Right112
[CSS] Adding style for Password Strength Meter Ape_b110
[CSS] Adding style for Password Strength Meter Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19122
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

[CSS] Adding style for Password Strength Meter Empty Re: [CSS] Adding style for Password Strength Meter

Post by SarkZKalie September 7th 2018, 4:38 am

Thank you


[CSS] Adding style for Password Strength Meter Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1418
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum