Just change the value of the background: or background-color: property (use the former if you want a gradient or something; latter for just a color) under the .ribbonStaff selector (or whatever other class you have for that specific usergroup). For example, if I want my staff usergroup to have a red banner, I'd use:*bump*
Actually, my main question is just how to change the colors on the ribbons. I already know these are based on usergroups
.ribbonStaff {
background-color: #FF0000;
}
Check your code/templates.
If you follow the instructions in the first post it works fine.
I couldn't get the array to work. It gives an Invalid condition expression error for the line containingAs for your in_array question, you want something like:
Code:<xen:if is="in_array({$user.user_id}, array(X,Y,Z))"> <li class="ribbonAlienInvasion"> <div class="left"></div> <div class="right"></div> Alien Invasion </li> </xen:if>
Replace X,Y,Z with a comma-separated list of the user IDs of the users you want to have this ribbon.
<xen:if is="in_array({$user.user_id}, array(X,Y,Z))">
Only if you have to revert the template.When I do an upgrade to a newer version, will these changes be overwritten?
No problem , most of the XenForo Community is very welcoming of newcomers.ok, thanks. I'm new to this and trying to get the hang of it.
We use essential cookies to make this site work, and optional cookies to enhance your experience.