User Ranks in CSS

User Ranks in CSS 1.0

No permission to download

dutchbb

Well-known member
dutchbb submitted a new resource:

User Ranks in CSS (version 1.0) - Add user ranks in posts without the need for images

Description

This mod adds user ranks entirely made in CSS, so no additional images are required. The attached example shows how the colors automatically adapt when a style color is changed with the XenForo color palette.

The rank text can be changed by simply editing the template - no Photoshop required. You can change the shape, color, background image, and font to whatever you like. So you can actually design your own personal user ranks!

Read more about this resource...
 
ABOVE ADD:
Code:
<span class="userrank">Administrator</span>
(To show the appropriate rank per usergroup you'll still need a conditional for every added rank.)

Awesome!

Can you give an example of a conditional for having another user group in addition to an admin? How would I let the system know when it should appear for just admins and another for xxxx?
 
Thanks for the feedback.

Question.... in these instances:
border: 1px solid @primaryLight; and color: @primaryMedium;

Can the primaryLight and primaryMedium be substituted with hex colors?
You can, the only difference is that changes to the color palette will not affect it anymore.

Awesome!

Can you give an example of a conditional for having another user group in addition to an admin? How would I let the system know when it should appear for just admins and another for xxxx?
Added to the OP :)
 
But if you changed the color palette, then you could manually change the hex values, correct?
I'll most likely use it the way you have it. I'm just thinking of someone who might want to be more creative with their colors.
Yes, once the @primaryLight etc are gone you can manually change it to any CSS value for example color: red; or color: #f00;
 
But if you changed the color palette, then you could manually change the hex values, correct?
I'll most likely use it the way you have it. I'm just thinking of someone who might want to be more creative with their colors.

If you changed the @primarysomething to a hex value I don't think the colour would change using the colour pallete in the style properties. I personally would have it set to a hex and/or rgb value so it remains independent from the style properties color pallete.
 
Back
Top Bottom