Solved: 8 Years, 9 Months, 3 Weeks ago [How To?] Different Text Colour Based on Group Rights
#1
Solved: 8 Years, 9 Months, 3 Weeks ago
Hi,

Is it possible for each group on my board a different type colour by default? For example, i have 3 staff groups, Developer, Admin and Mod, on my board, i'd like each group to have a different default posting colour for when they make posts on my forums, to stand out.

This guide found here (scroll down to the 8th post, to be exact) is pretty much what i want doing, except instead of the background of the entire post being colored, i just want the text itself to be a different colour, is that possible using CSS (im new to mybb so i may be missing something obvious)?

Thank you.
Reply
#2
Solved: 8 Years, 9 Months, 3 Weeks ago
in general, text color is controlled by the editor while posting the message.
anyway, instead of background color you have to use text color property
Reply
#3
Solved: 8 Years, 9 Months, 3 Weeks ago
you can change the text color by adding ".post4 { color: #FDB5FF; }" instead of ".post4 { background: #FDB5FF; }"

rest of the guidance will remain the same a the referred thread...

Edit: delayed response Toungue
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#4
Solved: 8 Years, 9 Months, 3 Weeks ago
Thx guys, I will use this for my forum Smile
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#5
Solved: 8 Years, 9 Months, 3 Weeks ago
(2016-02-15, 04:45 AM).m. Wrote: in general, text color is controlled by the editor while posting the message.
anyway, instead of background color you have to use text color property

(2016-02-15, 04:46 AM)mmadhankumar Wrote: you can change the text color by adding ".post4 { color: #FDB5FF; }" instead of ".post4 { background: #FDB5FF; }"

rest of the guidance will remain the same a the referred thread...

Edit: delayed response Toungue

Thanks both, got it to work Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)