Xenforo Image Username

Obbex

Member
Aug 19, 2014
46
3
Hello there, I am trying to add two images to my username itself on Xenforo. The main code I am using is this:
Code:
color:red;
font-weight:bold;
background: url("http://ram-forum.xyz/forum/styles/theseicons/award-star-bronze-1-icon.png") no-repeat scroll left center transparent;
padding-left: 17px;
padding-center: 17px;
background: url("http://ram-forum.xyz/forum/styles/theseicons/backround6.gif")
I am only getting the badge icon itself to show instead of the background sparkle image to show up aswell, what exactly am I doing wrong here?
 

Benden

maging ang maganda mamatay
Jun 4, 2010
2,286
1,482
Hello there, I am trying to add two images to my username itself on Xenforo. The main code I am using is this:
Code:
color:red;
font-weight:bold;
background: url("http://ram-forum.xyz/forum/styles/theseicons/award-star-bronze-1-icon.png") no-repeat scroll left center transparent;
padding-left: 17px;
padding-center: 17px;
background: url("http://ram-forum.xyz/forum/styles/theseicons/backround6.gif")
I am only getting the badge icon itself to show instead of the background sparkle image to show up aswell, what exactly am I doing wrong here?
You're telling it to use two images as one background. It can only use one
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,934
3,933
Here's how you'd do it:
Code:
.username {
    color: red;
    font-weight: bold;
    background:
        url("http://ram-forum.xyz/forum/styles/theseicons/award-star-bronze-1-icon.png") no-repeat,
        url("http://ram-forum.xyz/forum/styles/theseicons/backround6.gif");
    padding-left: 17px;
}

You're telling it to use two images as one background. It can only use one
False.
 

Obbex

Member
Aug 19, 2014
46
3
That still does not work, it keeps the text of the username back to it's regular dull self. As I am inserting it in the Username CSS.
 

Users who are viewing this thread

Top