Username that sparkles with icon.
3 posters
Page 1 of 1
Username that sparkles with icon.
How to make a username that sparkles that has icon in its left? Mine just won't work, I don't know what to do. Please help me.
This is my code:
This is my code:
.name strong a[href="/u1"]{
padding-left: 19px;
background: url(https://i.servimg.com/u/f47/17/47/06/15/shield11.png) no-repeat left;
background: url("https://2img.net/h/oi48.tinypic.com/2yjo4kn.gif) no-repeat left");}
E.rr0r- Forumember
- Posts : 49
Reputation : 1
Language : CSS, HTML, Javascript, English, Tagalog
Location : Philippines
Re: Username that sparkles with icon.
CSS
Javascript Code
works for phpBB3 why don't you update?
- Code:
background: url("http://i48.tinypic.com/2yjo4kn.jpg") !important;}
.lastpostAvatar {
width: 40px;
height: 40px;
float: left;
margin: 0 5px;
border: 0px solid #CCC;
}
Javascript Code
- Code:
/* Kruna ispred nicka administratora. By BubbleDreams 2011 -
AdminCentar.net . Nemoj uklanjati copyright! Don't remove copyright! */
$(function() {
if($('a[href="/u1"] span strong')){
$('a[href="/u1"] span strong').before('<img src="http://i47.servimg.com/u/f47/17/47/06/15/shield11.png" border="0" />');
}
});
works for phpBB3 why don't you update?
Re: Username that sparkles with icon.
- Code:
.name strong a[href="/u1"]{
padding-left: 19px;
background: url(http://i47.servimg.com/u/f47/17/47/06/15/shield11.png) no-repeat left;
background: url("http://i48.tinypic.com/2yjo4kn.jpg") !important;}
.lastpostAvatar {
width: 40px;
height: 40px;
float: left;
margin: 0 5px;
border: 0px solid #CCC;
}
Is this right?
E.rr0r- Forumember
- Posts : 49
Reputation : 1
Language : CSS, HTML, Javascript, English, Tagalog
Location : Philippines
Re: Username that sparkles with icon.
- Code:
.name strong a[href="/u1"]{
padding-left: 19px;
background: url(http://i47.servimg.com/u/f47/17/47/06/15/shield11.png) no-repeat left;
background: url("http://i48.tinypic.com/2yjo4kn.jpg") !important;}
.lastpostAvatar {
width: 40px;
height: 40px;
float: left;
margin: 0 5px;
border: 0px solid #CCC;
}
You forgot to add a " after and before the first background: url. Also, is the 2nd background url for the avatar? If so, please put it below the .last postAvatar
Similar topics
» Glitter Username + Username Icon Problem
» icon in username ?
» how to add an icon to ONE username!?
» Icon and Username Help
» Icon before username
» icon in username ?
» how to add an icon to ONE username!?
» Icon and Username Help
» Icon before username
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum