Jump to content


How to stripe posts (alt colour rows)

striping

  • You cannot start a new topic
  • You cannot reply to this topic
3 replies to this topic

#1 duc5

    Member

  • 2 posts
  • Joined: October 01, 2011
  • 1 topics
  • Local time: 03:42 PM
  • Zodiac:Aquarius
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 1m 56s

Posted 01 October 2011 - 01:53 PM

Hello everyone

In the new IPB each post has the same background colour, what I'd like to do is have an alternate colour for every 2nd post, is this possible? Any direction would be appreciated.

Thanks.

#2 Broni Re: How to stripe posts (alt colour rows)

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:42 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 01 October 2011 - 03:46 PM

Unfortunately IPB 3.2.x doesn't use rows anymore, so you can't do it.

#3 duc5 Re: How to stripe posts (alt colour rows)

    Member

  • 2 posts
  • Joined: October 01, 2011
  • 1 topics
  • Local time: 03:42 PM
  • Zodiac:Aquarius
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 1m 56s

Posted 01 October 2011 - 03:59 PM

Hi

I managed to get the desired effect by doing this to Topic View > post:

{parse striping="postrow" classes="row1,row2"}
<div class='post_block hentry clear clearfix <if test="postQueued:|:$post['post']['_isHidden']">moderated</if> {parse striping="postrow"}' id='post_id_{$post['post']['pid']}'>


#4 Broni Re: How to stripe posts (alt colour rows)

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:42 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 01 October 2011 - 04:27 PM

Interesting....
What's the link to your board?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 8 user(s)