Title: Editing Code
Last modified: August 20, 2016

---

# Editing Code

 *  Resolved [ncconcepts](https://wordpress.org/support/users/ncconcepts/)
 * (@ncconcepts)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/editing-code-2/)
 * How do I edit the code to remove the Number, Position and Year from the roster
   table? I also would like to expand the Weight character limit.
 * I am using this for boxing and don’t need some of the columns.
 * [http://wordpress.org/extend/plugins/team-rosters/](http://wordpress.org/extend/plugins/team-rosters/)

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

 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/editing-code-2/#post-3632790)
 * Hi ncconcepts,
    The team rosters table is generated by the mstw_tr_build_roster()
   function in the mstw-team-rosters.php file.
 * When you say, “expand” do you mean to make the column wider or add more characters
   to the weight field?
 * – You can expand the column by using styles (in the css/mstw-tr-style.css file).
 * – You can add more characters (it currently allows 8) in the includes/mstw-team-
   rosters-admin.php file.
 * Best,
    -Mark
 *  Thread Starter [ncconcepts](https://wordpress.org/support/users/ncconcepts/)
 * (@ncconcepts)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/editing-code-2/#post-3632842)
 * Ok, I got that but now I am having issues with the colors. I am trying to remove
   the drop shadow effect on the header text as well as change the font color when
   highlighting over the player name.
 * Take a look: [http://gogetas.com/dibella/athletes/](http://gogetas.com/dibella/athletes/)
 * I would like the font for the column headers to be plain white and when you highlight
   over the player’s name I want it to be red.
 * I tried doing in the admin but it’s not changing.
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/editing-code-2/#post-3632879)
 * Hi ncconcepts-
    Okay great. Now you need to edit the stylesheet (css/mstw-tr-
   style.css) to make things look like you want. For example, I made the following
   change to get red titles without the drop shadow:
 * > tr.mstw-tr-table-head th {
   >  padding-left: 5px; text-shadow: none; color: red;}
 * To get the hover color to be red, try:
 * > td.mstw-tr-odd a:hover, td.mstw-tr-even a:hover {
   >  color: red !important; }
 * I’m sorry you need the `!important` but your theme has a `!important` in a fairly
   top level rule, which then overrides everything anyone else tries to do. (Not
   good, IMHO.)
 * Let me know.
    -Mark

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

The topic ‘Editing Code’ is closed to new replies.

 * ![](https://ps.w.org/team-rosters/assets/icon-128x128.png?rev=1087838)
 * [Team Rosters](https://wordpress.org/plugins/team-rosters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/team-rosters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/team-rosters/)
 * [Active Topics](https://wordpress.org/support/plugin/team-rosters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/team-rosters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/team-rosters/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/editing-code-2/#post-3632879)
 * Status: resolved