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.

[CSS Coding] Username Color Issue

View previous topic View next topic Go down

Solved [CSS Coding] Username Color Issue

Post by Guest on August 13th 2015, 7:19 pm

Technical Details

Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
Forum link : http://draxgd.forumotion.com

Description of problem

I was going to make some groups hidden to make room for some more and I wanted to keep the username to keep their colors and therefore used this CSS code.

Code:
a[href="/u17"], a[href="/u17"] span, a[href="/u17"] span strong {
 color: #FF8605;
}

The problem was it doesn't work in the Chatbox. It shows their default colors. I was wondering if there was a way to fix this. Thanks!


Last edited by Draxion on August 13th 2015, 8:49 pm; edited 1 time in total

Guest
Guest


Back to top Go down

Solved Re: [CSS Coding] Username Color Issue

Post by Ange Tuteur on August 13th 2015, 7:44 pm

So it works in the chatbox, you need to add the following.
Code:
span[data-user="17"]

to make :
Code:
a[href="/u17"], a[href="/u17"] span, a[href="/u17"] span strong, span[data-user="17"] {
  color: #FF8605;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: [CSS Coding] Username Color Issue

Post by Guest on August 13th 2015, 8:49 pm

Works perfectly! Thanks!

Guest
Guest


Back to top Go down

Solved Re: [CSS Coding] Username Color Issue

Post by SLGray on August 13th 2015, 8:52 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.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