Notifications
Clear all

[Solved] Alternating Row Colors

6 Posts
2 Users
2 Reactions
321 Views
Posts: 43
Topic starter
(@badge)
Trusted Member
Joined: 5 years ago

I am updating the forum to the 2022 theme and using simplified layout. Is it possible to set alternating row colors on the discussion pages?

https://projectp51.com/community/general-discussion /

5 Replies
Tutrix
Posts: 1323
(@tutrix)
Noble Member
Joined: 4 years ago

same colors as on your forum index

#wpforo #wpforo-wrap .wpfl-2 .topic-wrap{background: #E3E4DC;}
#wpforo #wpforo-wrap .wpfl-2 .topic-wrap:nth-of-type(2n+1) {background-color: #EFF0E8 !important;}
2 Replies
(@badge)
Joined: 5 years ago

Trusted Member
Posts: 43

@tutrix one other quick one I hope but setting alternating row colors on the post/reply pages?

Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1323

@badge 

#wpforo #wpforo-wrap .wpfl-2 .post-wrap:nth-of-type(2n+1):not(.wpfp-first) .wpforo-post{background-color: #EFF0E8 !important;}
#wpforo #wpforo-wrap .wpfl-2 .post-wrap:nth-of-type(2n+1):not(.wpfp-first) .wpforo-post .wpf-right .wpforo-post-content-bottom{background: #EFF0E8 !important;}
#wpforo #wpforo-wrap .wpfl-2 .post-wrap:nth-of-type(2n+1):not(.wpfp-first) .wpforo-post .wpf-right {background: #ffffff!important;}
Posts: 43
Topic starter
(@badge)
Trusted Member
Joined: 5 years ago

Again thank you!!

Posts: 43
Topic starter
(@badge)
Trusted Member
Joined: 5 years ago

Again thank you for the quick replies and help!