Hi ragulin,
Sorry for the delayed response, I had other matters to deal with leading up to 4/15! ??
1. To format the columns, like centering the text, you need to edit the plugin’s stylesheet – /css/mstw-tr-style.css
. Find this selector:
`
tr.mstw-tr-odd td, tr.mstw-tr-even td {
padding-left: 5px;
border-top: #95B3D7 solid 1px;
vertical-align: middle;
}
`
and add the following rule to it:
text-align: center;
2. Regarding tables running off small screens, there are a couple of things you can do with your theme and CSS, BUT rosters are tables because they contain a lot of data (columns) and it needs to be organized on separate rows to really make sense. They do not fit on small screens. With some heavy CSS, you can do a little better. For example, see this post on treehouse. If you know the roster is going to be in a small space, a left or right widget column say, you can only show a couple of columns, maybe number and name, and let users click through for the player profile for more info. (The profile is responsive on small screen sizes because it’s not a table.)
3. Roster tables cannot be sorted by position without some non-trivial code changes.
Regards,
-Mark