How would I make a username colour different for each theme.
Say if I had a black theme, I would want all the username colours to be white.
And if I had a white theme, I would want all the username colours to be black.
Any help?
If you mean colors for the Registered group, MyBB does this automatically based on the theme's colors if there's no styling for any given group.
See:
In the username style for each group, use a span with a CSS class instead of inline styles. That way, you can define that style for each theme.
<span class="registered">{username}</span>
span.registered {
color:#FFFFFF;
}
(2012-10-30, 03:12 AM)laie_techie Wrote: [ -> ]In the username style for each group, use a span with a CSS class instead of inline styles. That way, you can define that style for each theme.
<span class="registered">{username}</span>
span.registered {
color:#FFFFFF;
}
Where do I add that .CSS code?
Under Themes then the theme name.
(2012-10-30, 06:57 PM)dragonexpert Wrote: [ -> ]Under Themes then the theme name.
More steps please, I'm lost now.
Admin CP->Theme & Templates->Theme Name->global.css
You have to add the class in advanced mode.