Every second post have a different color. How?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
ert4
New member
New member
Posts: 7
Joined: 04 Aug 2015, 16:23
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Every second post have a different color. How?

Postby ert4 » 21 Oct 2015, 22:17

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!

User avatar
Sniper_E
MOD Team
MOD Team
Posts: 591
Joined: 13 Jun 2011, 16:53
Location: Shreveport, LA
Contact:

Re: Every second post have a different color. How?

Postby Sniper_E » 24 Oct 2015, 15:10

No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB 3.0.x "Olympus" discussion”

Who is online

Users browsing this forum: Mojeek [Bot] and 6 guests