Alternating Post Colors? Help?
4 posters
Page 1 of 1
Alternating Post Colors? Help?
Ok so I am wanting to have a slight difference in color between the replys(just like this help forum). If possible i would like it if the forum admin had a special color like orange for the reply background. If also possible, could you tell me were to put the code in the general template? Thanks!
Forum Newbie,
Tyler
Forum: http://spawnagain.forumotion.com/t1-your-first-subject
EDIT: Forum is PhpBB2
Forum Newbie,
Tyler
Forum: http://spawnagain.forumotion.com/t1-your-first-subject
EDIT: Forum is PhpBB2
SpawnAgain- New Member
- Posts : 1
Reputation : 1
Language : ? I think CSS?
Re: Alternating Post Colors? Help?
- Code:
.post td.row1{background-color:#fff;}
.post td.row2{background-color:#000;}
.row2 .messaging .gensmall{background:#000;}
.row1 .messaging .gensmall{background:#000;}
.row2 .browse-arrows{background:#000;}
.row1 browse-arrows{background:#000;}
That should work. Change the hex codes to what you want though.
Try and keep your row2 colors and row1 colors all the same, like all the css styles I gave above for row2 keep color same...and for the row1s keep those colors the same,
Re: Alternating Post Colors? Help?
It didn't work for me. I have the background set to a color, does it need to be removed?
tomtastic- New Member
- Posts : 14
Reputation : 1
Language : English
Re: Alternating Post Colors? Help?
Um actually I don't know what I posted now. Do you want to have an admin with different colors?
If so please visit http://easybbtutorials.forumotion.com/t10-post-background-effect
If so please visit http://easybbtutorials.forumotion.com/t10-post-background-effect
Re: Alternating Post Colors? Help?
Basically alternating colors for posts. When the first person makes a post it is light magenta, then the next post is light orange, then light magenta again, etc. Background color of the post.
tomtastic- New Member
- Posts : 14
Reputation : 1
Language : English
Re: Alternating Post Colors? Help?
OK so that code above should work. After you put your hex codes in the CSS put a !important after it and close ;
I'm on phone now so it sucks. Give me minute and I'll give you the exact code you need
I'm on phone now so it sucks. Give me minute and I'll give you the exact code you need
Re: Alternating Post Colors? Help?
I copy pasted the code and added !important but it still doesn't do anything. Would you not need to define it as odd and even posts?
tomtastic- New Member
- Posts : 14
Reputation : 1
Language : English
Re: Alternating Post Colors? Help?
The problem I'm getting with this, is that even when I change the hex to a different color it wont change, now I'm not sure if that has to do with my main settings on my forum but I thought I'd ask. Take a look at my forum to see what I'm saying. I was trying to change the administrator posts to a mono-toned yellow.
EverEffects- Forumember
- Posts : 105
Reputation : 1
Language : English
Re: Alternating Post Colors? Help?
for administrator post you must use the link I gave you above, that is a specific code. for alternating post color use this CSS
problem with even and odd is that it is CSS3 some browsers will not support it.
- Code:
.post td .row1{background:#000 !important;}
.post td .row2{background:#000 !important;}
- Code:
.post:even{background:#000 !important;}
.post:odd{background:#000 !important;}
problem with even and odd is that it is CSS3 some browsers will not support it.
Similar topics
» Alternating post colors Vista theme..
» Don't want the alternating colors on threads/posts
» How do you change the chatbox to have all one color, no alternating colors?
» Post colors
» Colors for post?
» Don't want the alternating colors on threads/posts
» How do you change the chatbox to have all one color, no alternating colors?
» Post colors
» Colors for post?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum