WordPress.org

Ready to get started?Download WordPress

Forums

Team Rosters
[resolved] How do I change the color of every single table? (18 posts)

  1. manulazio
    Member
    Posted 7 months ago #

    I have created many tables and I wish each of them had a particular color. How do you do that?

    If I go into the plugin settings and edit the colors will change to all tables

    thanks

    http://wordpress.org/plugins/team-rosters/

  2. Mark O'Donnell
    Member
    Plugin Author

    Posted 7 months ago #

    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. ]

  3. manulazio
    Member
    Posted 7 months ago #

    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

  4. Mark O'Donnell
    Member
    Plugin Author

    Posted 7 months ago #

    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

  5. manulazio
    Member
    Posted 7 months ago #

    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

  6. Mark O'Donnell
    Member
    Plugin Author

    Posted 7 months ago #

    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

  7. manulazio
    Member
    Posted 7 months ago #

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

  8. manulazio
    Member
    Posted 7 months ago #

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

  9. Mark O'Donnell
    Member
    Plugin Author

    Posted 7 months ago #

    insert the shortcode in the table in those strings?

    Sorry, I'm not following you.

    -Mark

  10. manulazio
    Member
    Posted 7 months ago #

    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. ]

  11. manulazio
    Member
    Posted 7 months ago #

  12. Mark O'Donnell
    Member
    Plugin Author

    Posted 7 months ago #

    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

  13. manulazio
    Member
    Posted 7 months ago #

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

  14. Mark O'Donnell
    Member
    Plugin Author

    Posted 7 months ago #

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

  15. donjuanjohn
    Member
    Posted 6 months ago #

    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.

  16. Mark O'Donnell
    Member
    Plugin Author

    Posted 6 months ago #

    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

  17. donjuanjohn
    Member
    Posted 5 months ago #

    No problem Mark. I run a Minor League Adult Football League and I use your plugins. I'm constantly thinking of things but I'm not really educated in the field of implementing my ideas, so I just pass them along to those who are capable. I'm thrilled about your plugins though as there isn't really anything out there like yours. Keep up the great work!

    You can check out my site at: http://www.wcfanetwork.com

    I'll be practicing with the css files to makes changes when I have more time.

  18. Mark O'Donnell
    Member
    Plugin Author

    Posted 5 months ago #

    Cool. Your site looks great.
    -Mark

Reply

You must log in to post.

About this Plugin

About this Topic