Sinisterly
Gold Change username style per theme - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Design (https://sinister.ly/Forum-Design)
+--- Forum: Web Design (https://sinister.ly/Forum-Web-Design)
+--- Thread: Gold Change username style per theme (/Thread-Gold-Change-username-style-per-theme)



Change username style per theme - Kyou - 02-15-2014

Likely been posted around but I thought I'd give everyone a quick tutorial on how to make different username styles per different themes. If you ever had let's say a light theme and a dark, you could fix your usergroups for each one so they don't conflict and look like shit.

Step 1 -
Go to your ACP > Users & Groups > Group you wish to change

Step 2 -
Find your group's username style. So for the admin for example let's just say it looked like this:

Code:
<span style="color: red;"><strong><em>{username}</em></strong></span>

Step 3 -
Delete the CURRENT username style that is listed, like how it is above and REPLACE it with:

Code:
<span class="admin_name">{username}</span>
(You can put whatever class name you wish. This is just an example.)

Step 4 -
Go to your ACP > Themes & Templates > Theme you wish to add this in > Edit global.css

Step 5 -
Add this code at the bottom of your global.css

Code:
.admin_name { color: yellow; font-weight: bold; }

Obviously you can add WAY more to that, like text shadow, sparkles or whatever using the proper CSS.


RE: Change username style per theme - Illuminati - 02-15-2014

Looks great, loving all these new updates for groups.


RE: Change username style per theme - Sintation - 02-15-2014

Can't wait till I purchase my group! Waiting for that Pm. Wink


RE: Change username style per theme - Kyou - 02-15-2014

(02-15-2014, 03:34 AM)Illuminati Wrote: Looks great, loving all these new updates for groups.

This isn't an update. :hehe: But I plan on implementing this for the light theme soon so if people are using it, it's not all fucked up looking.


RE: Change username style per theme - BeastlyHobos - 02-15-2014

I was going to tell you when the lite theme for this theme first came out, group member user styles were basically invisible, looks like you discovered how to fix that yourself :thumbsup: Smile