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 Thu 13 Aug 2015 - 20:19

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 Thu 13 Aug 2015 - 21:49; edited 1 time in total

Guest
Guest


Back to top Go down

Solved Re: [CSS Coding] Username Color Issue

Post by Ange Tuteur on Thu 13 Aug 2015 - 20:44

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 : 13039
Reputation : 2719
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 Thu 13 Aug 2015 - 21:49

Works perfectly! Thanks!

Guest
Guest


Back to top Go down

Solved Re: [CSS Coding] Username Color Issue

Post by SLGray on Thu 13 Aug 2015 - 21:52

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 : 37676
Reputation : 2532
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