Disabling automatic table striping in Atahualpa

By default, Atahualpa stripes all tables that it displays. While table striping is nice, I find it a lot better to specify which tables I want to use striping on.

Table striping makes it much easier on the eyes to see what information is on each line.

The problem is that you may not want all tables to be striped. For example, many of the showcases I create use tables to display information simply because I find that getting results to look correct across different browsers is much easier that way…and striping makes them look quite odd.

Disabling Automatic Striping

  1. Log into your WordPress admin panel.
  2. Select "Appearance" → "Atahualpa Theme Options".
  3. Select "Tables" under the Atahualpa Theme Options header.
  4. Find the "Zebra stripe all tables?" section and set it to no.
  5. Save the changes.

Making striped tables

With automatic table striping turned off, you can make individual tables striped by setting their class to zebra.

If you normally use the visual editor, use the html editor and find the <table> header for the table in question.

Add the zebra class so that it looks like <table class="zebra">.

If the table already has a class, add a space after the existing class then the word zebra. A good example is if you want a zebra striped table with hover highlighting, which would look like <table class="hover zebra">.

Similar Posts:

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

PWS Ad Manager
• Place Content
• Place Ads
• Choose Randomly
• No Duplicates
• Widget Ready
and more...