The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Bold Code?

View previous topic View next topic Go down

Bold Code?

Post by E-Mad™ on March 10th 2012, 8:17 pm

Is there any code available that allows certain usernames to have a coloured name but not be in bold even though they are part of a group, for example.

XciteAdmin™ < from that to this > XciteAdmin™

If anyone can help me with this that would be great.

E-Mad™
Forumember

Posts : 139
Reputation : 2
Language : English

http://www.chat-central.darkbb.com

Back to top Go down

Re: Bold Code?

Post by levy on March 10th 2012, 8:22 pm

Yes is posible,when you make a rank don't use <b> </b> and is a simple rank not bolded

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Re: Bold Code?

Post by E-Mad™ on March 10th 2012, 8:24 pm

I'm not talking about ranks, I am talking about usernames.

E-Mad™
Forumember

Posts : 139
Reputation : 2
Language : English

http://www.chat-central.darkbb.com

Back to top Go down

Re: Bold Code?

Post by levy on March 10th 2012, 9:58 pm

Username :-? Is imposible I Think.

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Re: Bold Code?

Post by Guest on March 10th 2012, 10:04 pm

i think you want this CSS code

Code:
.strong, b {
font-weight: lighter;
}

Guest
Guest


Back to top Go down

Re: Bold Code?

Post by APE on March 11th 2012, 3:27 pm

Respect_Me wrote:i think you want this CSS code

Code:
.strong, b {
font-weight: lighter;
}
placed that code in the CSS and it don't do nothing Confused
we want the user name to be less bold !!

APE
Manager
Manager

Male Posts : 8317
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Bold Code?

Post by Guest on March 11th 2012, 3:42 pm

Code:
strong, b {
font-weight: lighter;
}

Maybe this , without "."

Guest
Guest


Back to top Go down

Re: Bold Code?

Post by APE on March 11th 2012, 3:58 pm

Respect_Me wrote:
Code:
strong, b {
font-weight: lighter;
}

Maybe this , without "."
That worked for some names but others stayed bold What the fuck ?!?
is there away that we can do it by groups there in so say the admin stay bold the members stay bold but the mods and chat room staff go less bold !!

I mean like this
Admin = Bold
Chat Mods = Unbold
Forum Mods = Bold

APE
Manager
Manager

Male Posts : 8317
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Bold Code?

Post by mioshi11 on March 11th 2012, 4:33 pm

Code:
<b>Admin</b>
try this!

mioshi11
Forumember

Male Posts : 153
Reputation : 4
Language : english
Location : Philippines

http://lovefx.forumtl.com

Back to top Go down

Re: Bold Code?

Post by APE on March 11th 2012, 9:01 pm

no that would only work for the ranks we mean members name not ranks





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Bold Code?

Post by enlil on March 11th 2012, 11:51 pm

Hi,


You could target a group with the color in css :

Code:
a span[style="color:#D13800"] strong { font-weight: normal; }
There is a table of compatibility there :
https://developer.mozilla.org/en/CSS/Attribute_selectors#Browser_compatibility

If it's not enought compatible for you, you will need to use a script, for example :

Code:
$(function(){
  $("a span[style^='color:#']").each(function(){
    $(this).addClass("groupColor"+$(this).attr("style").replace(/^color:#([A-Fa-f0-9]{0,6})?.*?$/,'$1').toUpperCase());
  });
});
Then you will be able to use in your css :

Code:
.groupColorD13800 strong { font-weight: normal; }
Cordially.

enlil
New Member

Posts : 16
Reputation : 5
Language : c

Back to top Go down

Re: Bold Code?

Post by Niko on March 13th 2012, 6:42 pm

Hi!

sure you can... Set up this code with the member link and the color:
Code:
a[href="/u71863"] {
    font-weight: bold;
}

this code will work for my account because I set it down with /u71863; Just change it Mr. Green
And it will work easy...

Friendly,

Niko
Hyperactive

Male Posts : 2163
Reputation : 93
Language : English, French, Italian, Spanish, Latin

https://www.translationscloud.com/?utm_source=forumotion&utm

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum