WordPress.org

Support

Support » Plugins and Hacks » Team Rosters » [Resolved] Editing Code

[Resolved] Editing Code

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark O'Donnell

    @markodonnell

    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

    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/

    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

    @markodonnell

    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 ‘[Resolved] Editing Code’ is closed to new replies.
Skip to toolbar