Skip to:

Opened 10 years ago

Closed 10 years ago

#1668 closed defect (bug) (invalid)

zebra striping of the topics table is confused

Reported by: anointed Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: Front-end Keywords:


zebra striping will add the odd and the even to every single topic if there is more than one table on the page.

to replicate:

  1. add a number of topics to your favorites and subscriptions
  2. go to your user profile page which shows all 3 tables
  3. If the zebra striping looks right, then simply add or remove a favorite or subscription topic.

It seems that at certain times, with a specific # of topics showing up in the tables that the zebra striping is correct. However, if the # of topics changes, then the striping gets confused.

Sometimes you will see that every single topic has the 'even' css property as well as the 'odd' property.

*My best guess is because there is more than one table on the page, that the zebra counter does not reset per table, thus having multiple tables 'confuses' the zebra logic.

Tested on wp 3.3beta2 with bbpress 2.0 nightly, with standard built in theme, no other plugins active.

This will also happen if you are using shortcodes on a page to display more than one table.

Change History (2)

#1 @johnjamesjacoby
10 years ago

  • Milestone changed from Awaiting Review to 2.1

#2 @johnjamesjacoby
10 years ago

  • Milestone 2.1 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Can't duplicate this. Possible some JS is getting in the way and adding classes where they do not belong?

Note: See TracTickets for help on using tickets.