Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: CSS Trick – How to style Activity Stream odd and even posts.

@hnla

Participant

Added this snippet fro a while back from the link above it might be useful, but also I posted this over a year ago so may contain inaccuracies:
`
In file bp-themes/bp-default/activity/activity-loop.php

add line ‘’ above line 20 ‘’

Immediately below the while loop on line 20 add:

‘’

To print out the odd or even classes go to the file:

bp-themes/bp-default/activity/entry.php

And add :

‘’ to line 5 so it looks like:

‘<li class=” ” ‘

You can then style the classes ‘odd’ and ‘even’ as you wish.
`

Skip to toolbar