Technical Details
Forum version : #phpBB3
Position : Administrator
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : http://avacs.zforum.biz
a span[style="color:#COLOR OF GROUP"] strong {
   background:url(http://2img.net/i/fa/empty.gif) no-repeat;
   padding-left:16px;
}
|
|
Forumedic wrote:Take this code:
And replace the "COLOR OF GROUP" with the exact hex color of the usergroup you want the icon added to. For example, if your administrator group was the color
- Code:
a span[style="color:#COLOR OF GROUP"] strong {
   background:url(http://2img.net/i/fa/empty.gif) no-repeat;
   padding-left:16px;
}, then you would put that in the place of "COLOR OF GROUP".
- Code:
#FF0000
Take this part of the code:and replace it with the image you want.
- Code:
http://2img.net/i/fa/empty.gif
i don't wana open css style sheet for every new, i do want it for whole group and in this thread showing i must go to css page and code for every new member if i want to add icon before name of him/herRoyal Bengal wrote:Hello,
You can follow this tutorial too https://help.forumotion.com/t90311-how-to-add-an-icon-before-username
Forumedic wrote:@faisii_x please send what you put in the CSS. The code works, so there must be an issue on your end.
span[style="color:#ff0000"] strong {
background:url(http://i84.servimg.com/u/f84/19/44/16/59/couron10.png) no-repeat;
padding-left: 14px;
}
not workingRoyal Bengal wrote:Try to paste code in the bottom. It should works
i don't think problem in whole cssRoyal Bengal wrote:I think problem in whole css. Copy whole code and paste here. Coding master @Ange Tuteur can help!
@"Ange Tuteur"
span[style="color:#ff0000"] strong {
      background:url('http://i84.servimg.com/u/f84/19/44/16/59/couron10.png') no-repeat !important;
      padding-left: 14px !important;
    }
SLGray wrote:
- Code:
span[style="color:#ff0000"] strong {
      background:url('http://i84.servimg.com/u/f84/19/44/16/59/couron10.png') no-repeat !important;
      padding-left: 14px !important;
    }
a span[style="color:#COLOR OF GROUP"] strong {
background:url(http://2img.net/i/fa/empty.gif) no-repeat;
padding-left:16px;
}
I'm trying to find out but I don't know.faisii_x wrote:Like what how it can be solve ?
|
Will do but you will need to change the icon regardless I believe as it is made by Forumotion and copyright.faisii_x wrote:oh thanks finally, please add space between icon and username its very closed to each other that's looking not good thanks
Alright, is the space difference alright?faisii_x wrote:ok sure..! i will change icon