WordPress.org

Support

Support » Plugins and Hacks » Team Rosters » [Resolved] How do I change the color of every single table?

[Resolved] How do I change the color of every single table?

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

    @markodonnell

    Hi manulazio,
    Assuming you are running the current version of the plugin…

    If you want ALL your tables to have the same color scheme, you can either edit the defaults in the stylesheet or you can set the colors in the display settings.

    If you want each roster table (for each team, say) to have a different color scheme, then you must edit the stylesheet and add custom styles. Examples of what I did on my plugin development site are at the bottom of the stylesheet. You might also want to look at the documentation on styling @ shoalsummitsolutions.com.

    Let me know.
    -Mark

    [ Signature moderated. ]

    ok i go on http://shoalsummitsolutions.com/dev/test-roster-plugin/ and then i click on http://shoalsummitsolutions.com/dev/sample-table-css/

    what code should I choose to change the color of the table? where should I put this code?

    thank you

    Plugin Author Mark O'Donnell

    @markodonnell

    The code goes at the bottom of the plugin stylesheet (/css/mstw-tr-styles.css). Check out the code that’s there right now for example. (It may be a bit more current than what’s on the site.) The rules you need are the rules with the team slug in them – sf-giants or cal-bears.

    You pretty much need to know some css and how to use the element inspector in a browser (firefox firebug or chrome developer tools) to get this done.

    -Mark

    sorry but don’t understand. i go to css/mstw-tr-styles.css and I add the code to the bottom of the page from this link http://shoalsummitsolutions.com/dev/sample-table-css/

    is that right? but what code should I take to change every single table?
    can you give me an example?

    thanks a lot

    Plugin Author Mark O'Donnell

    @markodonnell

    manulazo,
    No you really have to bring up the file on your website in an editor. For example you can go to your dashboard->plugins->installed plugins->Team Rosters->Edit-> and edit the mstw-tr-style.css file. The examples at the end of that file are what you need but they need to be modified for your team slug, table colors, etc. I can’t tell you want to do there because I don’t know what you want. If you aren’t comfortable with cascading style sheets I highly recommend you hire someone to do it. It’s not hard but you need to know how.
    Regards,
    -Mark

    Ok thank you. I only have to change the colors of each table…

    but I have to insert the shortcode in the table in those strings? and exactly where?

    Plugin Author Mark O'Donnell

    @markodonnell

    insert the shortcode in the table in those strings?

    Sorry, I’m not following you.

    -Mark

    which piece I need to change these?

    [ Moderator note: 378 lines of CSS deleted, please just post a link to your style.css file instead. ]

    Plugin Author Mark O'Donnell

    @markodonnell

    Hi manulazio,
    I’m happy to help you with my plugins working on your site, but I’m sorry as the plugin developer it is not my job to style your site for you. Again, if you are not comfortable with modifying css files then I recommend you HIRE someone to help. You shouldn’t expect professionals to build your site for you for free.
    Regards,
    -Mark

    Ok, ok but a mini guide to help me would be ideal

    Plugin Author Mark O'Donnell

    @markodonnell

    Thanks manulazio. I will add that to the list. For now, the sample .css file will have to serve as the mini guide.
    -Mark

    Hey Mark,

    Perhaps implementing in the UI that once you create a team, then you can add players specifically in that order. Basically treating each individual team as a category, then all players for that team(category) would be in that container. In the UI for that category, the ability to change colors, add logos could be done on an individual category basis.

    Just my 2 cents.

    Plugin Author Mark O'Donnell

    @markodonnell

    Thank donjuanjohn. Interesting idea. I thought about treating teams as categories when I built the first version. I forget exactly why I choose not to at the time, but I know why I’m going a different direction for the MSTW Framework and the next Game Schedules release.
    Thanks.
    -Mark

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Resolved] How do I change the color of every single table?’ is closed to new replies.
Skip to toolbar