Image before username in chatbox in message

Go down

Image before username in chatbox in message

Post by Ajax on April 24th 2012, 6:44 am

Okay, I want to basically add a small image before the rank of the user in the chatbox, even when the message is sent. Anyone know how? Thanks.

Ajax
New Member

Posts : 16
Reputation : 1
Language : English

Back to top Go down

Re: Image before username in chatbox in message

Post by Ajax on April 24th 2012, 8:04 pm

bump*

Ajax
New Member

Posts : 16
Reputation : 1
Language : English

Back to top Go down

Re: Image before username in chatbox in message

Post by Guest on April 24th 2012, 8:15 pm

Hi!

Add to CSS Stylesheet:
Code:
#chatbox p span.user-msg span.user a[href="/u1"]{
    background: url("http://illiweb.com/fa/admin/couronne.png") no-repeat;
    padding-left: 19px;
    padding-top: 2px;
}
This code will add a crown for only your username.

Code:
#chatbox p span.user-msg span.user a{
    background: url("http://illiweb.com/fa/admin/couronne.png") no-repeat;
    padding-left: 19px;
    padding-top: 2px;
}
This code will add a crown for all users.

For all codes:
https://illiweb.com/fa/admin/couronne.png - this is the link of the image you want to add before username.
P.S. Don't use big images.

Guest
Guest


Back to top Go down

Re: Image before username in chatbox in message

Post by Sir Chivas™ on April 24th 2012, 8:46 pm





Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please y it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6811
Reputation : 433
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Back to top


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