The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Image before username in chatbox in message

View previous topic View next topic 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:
http://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 mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

View previous topic View next topic Back to top


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