Title: Roster CSS Question
Last modified: November 4, 2016

---

# Roster CSS Question

 *  Resolved [tr-Archangel](https://wordpress.org/support/users/trarchangel/)
 * (@trarchangel)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/roster-css-question/)
 * I was looking to give my roster a bit more color to the theme of my site but 
   ran into a snag.
 * In your wowpi/includes/scripts.php file you make a reference call to the css 
   for the table formatting here: cdn.datatables.net/1.10.12/css/jquery.dataTables.
   min.css
 * Is there a reason its not local loaded?
 * What I am trying to do is change the row background colors in the roster table.
   They are called by the css “odd” and “even” tags.
 * [http://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css?ver=0f0139fcfe12691047855c7d851436b7](http://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css?ver=0f0139fcfe12691047855c7d851436b7)
   
   table.dataTable tbody tr tr.rank_8:nth-child(2)
 * If I change the background-color there I get the proper look I want but I cannot
   seem to get it to take any custom class calls and change odd/even rows. The changes
   I am making are just preview only (using firefox dev tools to test)
 * Any insight on this?
 * Would there be a better way to load a local jquery css instead if I wanted to
   use different jquery styles? Id rather not manually change the code to fit suit.
   If I am making an error here please let me know.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [avenirer](https://wordpress.org/support/users/avenirer/)
 * (@avenirer)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/roster-css-question/#post-8404531)
 * Hello, considering the fact that a lot of sites may use the same table sorter,
   I thought it would be better to take it from a common place: the cdn service.
 * If you want to change the css you can be more specific by using the id of the
   table. This would overwrite the existing css.
 * We can do it together if you want. My Google Hangout is [avenir.ro@gmail.com](https://wordpress.org/support/topic/roster-css-question/avenir.ro@gmail.com?output_format=md)
 *  Thread Starter [tr-Archangel](https://wordpress.org/support/users/trarchangel/)
 * (@trarchangel)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/roster-css-question/#post-8407071)
 * Looks like I got it actually!
 * Just needed to drop in
 * .wowpi_guild_roster tr.even {
    background-color: #0006; } .wowpi_guild_roster
   tr.odd { background-color: #000; }
 * Into my style.css for the theme. I was worried that your table CSS would come
   last and overwrite changes I made.
 * Seriously,
 * Awesome work on your plugin!
 *  Plugin Author [avenirer](https://wordpress.org/support/users/avenirer/)
 * (@avenirer)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/roster-css-question/#post-8407155)
 * Thank you. Please do rate it if you hadn’t already.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Roster CSS Question’ is closed to new replies.

 * ![](https://ps.w.org/wowpi/assets/icon-256x256.png?rev=1496293)
 * [WoWpi](https://wordpress.org/plugins/wowpi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wowpi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wowpi/)
 * [Active Topics](https://wordpress.org/support/plugin/wowpi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wowpi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wowpi/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [datatables](https://wordpress.org/support/topic-tag/datatables/)

 * 3 replies
 * 2 participants
 * Last reply from: [avenirer](https://wordpress.org/support/users/avenirer/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/roster-css-question/#post-8407155)
 * Status: resolved