Log in

View Full Version : Replacement colours


Scotteh
06-04-2009, 03:29 PM
How do i replace colours.

The forum sells Black VIP and allows user to set a default text.

However two of the forum backgrounds are black so the text is invisible and a user has to highlight the text in order to see it. And they can't see the users username if its black.

So how would i change it so the black text gets changed to white

Lynne
06-04-2009, 04:15 PM
See these pages in the manual for help in figuring out which class to change - Color Map Reference (http://www.vbulletin.com/docs/html/color_maps_intro)

Scotteh
06-04-2009, 04:56 PM
If you cared to read my post you'd see thats nothing to do with what i want.

I'm aware on how to edit CSS for a style.

I need the ability to remove a colour from a skin, for example black and replace it with a colour, for example white.

So if a member has a black username and the forum background is black the name will be changed to white while the background will remain black.

Silver Tiger
06-04-2009, 04:57 PM
If you cared to read my post you'd see thats nothing to do with what i want.

I'm aware on how to edit CSS for a style.

I need the ability to remove a colour from a skin, for example black and replace it with a colour, for example white.

So if a member has a black username and the forum background is black the name will be changed to white while the background will remain black.

Give the guy some respect, not just because he is a moderator but because he is trying to help you.

Not only that he is really good at helping people.

Lynne
06-04-2009, 05:03 PM
If you cared to read my post you'd see thats nothing to do with what i want.

I'm aware on how to edit CSS for a style.

I need the ability to remove a colour from a skin, for example black and replace it with a colour, for example white.

So if a member has a black username and the forum background is black the name will be changed to white while the background will remain black.
Well, now you have confused me and I have no idea how to help you. You need to edit the CSS, but you say you know how to edit the CSS so I don't know what to suggest. Did you apply a class to your usernames? You may change class colors per style.

Scotteh
06-05-2009, 10:18 AM
Ok i'll explain it.

Forum sells VIP; various colours including black.
Forum allows people to set a default text colour; including black.

3/8 of the forums skins has a black background, thus you cannot see the text or name of people who have black VIP or black default text.

So i need to remove a colour (black) from the skin so if they have black VIP or black default text the forum automatically changes their name/text colour to white on that skin but on other skins its still black.

So its like the black text colour is forbidden on that specific skin.

I know its possible as i know a forum that does it, but how? :)

Lynne
06-05-2009, 02:28 PM
As I said above, instead of making the usernames a specific color, like black, apply a class to them. Then, change the class color depending on the skin. Do that for any text that you don't want to stay the same color for all skins.

Scotteh
06-05-2009, 07:44 PM
Could you explain how, o.0.

Lynne
06-05-2009, 09:30 PM
In the html markup for the usergroup, put in <span class="whatever"> in the first box and </span> in the second box and then define .whatever in the bottom of the Main CSS page.