Posts: 1,043
Threads: 24
Joined: Nov 2014
Reputation:
199
2015-01-13, 10:36 PM
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 */
Posts: 55
Threads: 16
Joined: Nov 2014
Reputation:
0
2015-01-13, 10:39 PM
(This post was last modified: 2015-01-13, 10:41 PM by iAmPandi.)
(2015-01-13, 10:36 PM)SvePu Wrote: -post-
Still not working
Posts: 1,043
Threads: 24
Joined: Nov 2014
Reputation:
199
2015-01-13, 10:48 PM
(This post was last modified: 2015-01-13, 10:50 PM by SvePu.)
This Style is for usergroup 1 - that are guests, right
Is it guests allowed to write posts?
Posts: 55
Threads: 16
Joined: Nov 2014
Reputation:
0
2015-01-13, 11:00 PM
(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?
Posts: 296
Threads: 55
Joined: Dec 2014
Reputation:
3
2015-01-13, 11:11 PM
(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
Posts: 55
Threads: 16
Joined: Nov 2014
Reputation:
0
2015-01-13, 11:16 PM
(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
Posts: 1,043
Threads: 24
Joined: Nov 2014
Reputation:
199
2015-01-13, 11:17 PM
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
Posts: 55
Threads: 16
Joined: Nov 2014
Reputation:
0
2015-01-13, 11:20 PM
One last question, do you know how I can fade/turn down opacity on the background colour?
Posts: 296
Threads: 55
Joined: Dec 2014
Reputation:
3
2015-01-13, 11:23 PM
Posts: 1,043
Threads: 24
Joined: Nov 2014
Reputation:
199
2015-01-13, 11:36 PM
(This post was last modified: 2015-01-13, 11:37 PM by SvePu.)
(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)
|