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.

New glow code?

View previous topic View next topic Go down

Solved New glow code?

Post by Freddy Fazbear on February 24th 2015, 3:53 pm

Ever since the new chat box function was put into place, glowing text on the chatbox for names has stopped working. It works well everywhere else. However, I have seen sites like Sword Master Academy still have glowing text working in their chat box. How do they do it?
avatar
Freddy Fazbear
Forumember

Posts : 51
Reputation : 1
Language : English

Back to top Go down

Solved Re: New glow code?

Post by Luffy on February 24th 2015, 3:57 pm

Hello,

You had all members with a certain glow on their names in the chatbox?

Luffy





avatar
Luffy
Manager
Manager

Male Posts : 4460
Reputation : 444
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: New glow code?

Post by Freddy Fazbear on February 24th 2015, 3:59 pm

I used to. I made a new forum and want to be able to do it to certain users, since I will have the admins have the glow, and I will remove the "@" sign from their names with a code.
avatar
Freddy Fazbear
Forumember

Posts : 51
Reputation : 1
Language : English

Back to top Go down

Solved Re: New glow code?

Post by Luffy on February 24th 2015, 4:04 pm

I got confused somewhere. Ehm, could you show us some images of what you want because you talk about forums and chat and i'm somehow confused.

P.S.: There is a new form where you can provide full details about your problems to solve them even easier and within less time. Just to let you know! Smile





avatar
Luffy
Manager
Manager

Male Posts : 4460
Reputation : 444
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: New glow code?

Post by Freddy Fazbear on February 24th 2015, 4:14 pm

Uh, don't have a picture. Basically, the new chat box in the forum no longer displays glow codes but it shows up everywhere else on the site. I just want a code to put glows back onto the chat box.
avatar
Freddy Fazbear
Forumember

Posts : 51
Reputation : 1
Language : English

Back to top Go down

Solved Re: New glow code?

Post by Luffy on February 24th 2015, 4:15 pm

Ok so you want the shadow to be on all users in the chatbox or specific usergroups?





avatar
Luffy
Manager
Manager

Male Posts : 4460
Reputation : 444
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: New glow code?

Post by Ange Tuteur on February 24th 2015, 4:15 pm

Hello,

The element for usernames was changed from an anchor(<a>) to a <span> tag. So the href attribute is no longer present for the attribute CSS selector. You can use the following rule for modifying specific members of the chatbox :
Code:
span[data-user="1"] { /* style props */ }

1 in the code above refers to the USER ID of the member. Change that to the ID of the user, and add whatever style you want to them.. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13072
Reputation : 2743
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: New glow code?

Post by Freddy Fazbear on February 24th 2015, 4:24 pm

Don't understand how to use that code.I use this.


a[href="/u1"]{
text-decoration: none !important;
text-shadow: 0 0 0.5em gray, 0 0 0.5em gray, 0 0 0.5em black;
}


Would it look like:

span[data-user="u1"] { /* style props */ }
a[href="/u1"]{
text-decoration: none !important;
text-shadow: 0 0 0.5em gray, 0 0 0.5em gray, 0 0 0.5em black;
}


or

span[data-user="u1"] { /*a[href="/u1"]{
text-decoration: none !important;
text-shadow: 0 0 0.5em gray, 0 0 0.5em gray, 0 0 0.5em black;
}*/ }
avatar
Freddy Fazbear
Forumember

Posts : 51
Reputation : 1
Language : English

Back to top Go down

Solved Re: New glow code?

Post by Ange Tuteur on February 24th 2015, 4:25 pm

You can take this :
Code:
a[href="/u1"]{ 
text-decoration: none !important; 
text-shadow: 0 0 0.5em gray, 0 0 0.5em gray, 0 0 0.5em black;
}

and add another selector to it by separating them by a comma :
Code:
a[href="/u1"], span[data-user="1"]{ 
text-decoration: none !important; 
text-shadow: 0 0 0.5em gray, 0 0 0.5em gray, 0 0 0.5em black;
}

That way you don't have to have multiple rules for the same style.
avatar
Ange Tuteur
Forumaster

Male Posts : 13072
Reputation : 2743
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: New glow code?

Post by Freddy Fazbear on February 24th 2015, 4:39 pm

It's working now!Thanks ^^
avatar
Freddy Fazbear
Forumember

Posts : 51
Reputation : 1
Language : English

Back to top Go down

Solved Re: New glow code?

Post by Ange Tuteur on February 24th 2015, 4:50 pm

You're welcome Smile

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13072
Reputation : 2743
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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