How can I make every second post in my forum have a different background color than the previous post?
exmaple:
Post 1 = White
Post 2 = Grey
Post 3 = White
Post 4 = Grey
...
(I'm not using standard theme/template prosilver, I'm using subsilver2)
Thanks in advance!
Every second post have a different color. How?
Forum rules
Please post any phpBB 3.1.x related topics in the phpBB 3.1.x discussion forum.
Please post any phpBB 3.1.x related topics in the phpBB 3.1.x discussion forum.
Re: Every second post have a different color. How?
In subsilver2 you have to edit the styles/subsilver2/theme/stylesheet.css
The row colors for posts use the classes .row1 and .row2 in subsilver2Replace with
Save your edits, upload to your server,
Refresh theme for phpBB 3.0*,
Clear cache for phpBB 3.1*,
Then refresh your browser to see the changes.
The row colors for posts use the classes .row1 and .row2 in subsilver2
Code: Select all
.row1 {
background-color: #ECECEC;
padding: 4px;
}
.row2 {
background-color: #DCE1E5;
padding: 4px;
}
Code: Select all
.row1 {
background-color: #FFFFF;
padding: 4px;
}
.row2 {
background-color: #EEEEEE;
padding: 4px;
}
Refresh theme for phpBB 3.0*,
Clear cache for phpBB 3.1*,
Then refresh your browser to see the changes.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™