Can't change Username Fonts
2 posters
Page 1 of 1
Can't change Username Fonts
I want to change my username font to Papyrus, but it doesn't work!
Here's all of my CSS code: (New Forum)
Here's all of my CSS code: (New Forum)
- Code:
//Username Fonts
a[href="/u1"] {
font-family: 'Papyrus', serif;
font-size: 12px;
color:#ff0000;
}
// Customization for Groups
a[href="/g2-administrator"] {
background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat;
padding-left: 19px;
padding-top: 2px;
}
cfdanz- Forumember
- Posts : 26
Reputation : 1
Language : Tagalog
Re: Can't change Username Fonts
Hello cfdanz,
The reason the code is not working is because you made your selectors invalid by placing text and slashes before them. What you're doing is a ' oneline javascript comment ' which is not supported in CSS, hence breaking your code.
You should instead write comments as :
/* THIS IS A CSS COMMENT */
The reason the code is not working is because you made your selectors invalid by placing text and slashes before them. What you're doing is a ' oneline javascript comment ' which is not supported in CSS, hence breaking your code.
You should instead write comments as :
/* THIS IS A CSS COMMENT */
- Code:
/* Username Fonts */
a[href="/u1"] {
font-family: 'Papyrus', serif;
font-size: 12px;
color:#ff0000;
}
/* Customization for Groups */
a[href="/g2-administrator"] {
background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat;
padding-left: 19px;
padding-top: 2px;
}
Re: Can't change Username Fonts
Solved! Thanks for the help mate
CHEERS!
CHEERS!
cfdanz- Forumember
- Posts : 26
Reputation : 1
Language : Tagalog
Similar topics
» Help Change username fonts
» Change username, userrank FONTS
» How to Change Fonts
» Is it possible to change the color of the edges of the fonts?
» How to change default fonts colour in chat box
» Change username, userrank FONTS
» How to Change Fonts
» Is it possible to change the color of the edges of the fonts?
» How to change default fonts colour in chat box
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum