Solved: 6 Years, 10 Months, 1 Week ago Add colours to background post of user groups
#21
Solved: 6 Years, 10 Months, 1 Week ago
Add this to showthread.css then it works:
/* post content backgound color for usergroup 4 */
.post_4 {
background: yellow;
}

/* post content backgound color for usergroup 2 */
.post_2 {
background: lime;
}

/*etc */

   
Reply
#22
Solved: 6 Years, 10 Months, 1 Week ago
(2015-01-13, 10:36 PM)SvePu Wrote: -post-

Still not working Sad

[Image: 3f6df8785451f0ca6364f2c48fc7d1d6.png]
Reply
#23
Solved: 6 Years, 10 Months, 1 Week ago
This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?
Reply
#24
Solved: 6 Years, 10 Months, 1 Week ago
(2015-01-13, 10:48 PM)SvePu Wrote: This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?

Bare in mind, I'm incredibly new to all of this, how do I know the user group numbers?
Reply
#25
Solved: 6 Years, 10 Months, 1 Week ago
(2015-01-13, 11:00 PM)iAmPandi Wrote:
(2015-01-13, 10:48 PM)SvePu Wrote: This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?

Bare in mind, I'm incredibly new to all of this, how do I know the user group numbers?

admin cp> users and groups> groups > click on a group and then look at the end of the link
Reply
#26
Solved: 6 Years, 10 Months, 1 Week ago
(2015-01-13, 11:11 PM)Patchy the Pirate Wrote:
(2015-01-13, 11:00 PM)iAmPandi Wrote:
(2015-01-13, 10:48 PM)SvePu Wrote: This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?

Bare in mind, I'm incredibly new to all of this, how do I know the user group numbers?

admin cp> users and groups> groups > click on a group and then look at the end of the link

Thank you guys, it's working Big Grin
Reply
#27
Solved: 6 Years, 10 Months, 1 Week ago
MyBB 1.8 default user groups:
  • Guests = user group ID 1
  • Registered = user group ID 2
  • Super Moderators = user group ID 3
  • Administrators = user group ID 4
  • Awaiting Activation = user group ID 5
  • Moderators = user group ID 6
  • Banned= user group ID 7
Reply
#28
Solved: 6 Years, 10 Months, 1 Week ago
One last question, do you know how I can fade/turn down opacity on the background colour?
Reply
#29
Solved: 6 Years, 10 Months, 1 Week ago
http://www.w3schools.com/cssref/css3_pr_opacity.asp
Reply
#30
Solved: 6 Years, 10 Months, 1 Week ago
(2015-01-13, 11:20 PM)iAmPandi Wrote: One last question, do you know how I can fade/turn down opacity on the background colour?

You could use rgba color codes instead of hex colors

e.g.: red (#ff0000) with 50% opacity = rgba(255, 0, 0, 0.5)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)