Background colour ranking table & sorting of positions
-
Hi ThemeBoy,
In Joomleague (Joomla plugin) in backend you can specify the background colour of a table row with the following code (example):
1,1,#hex, Champions/Promotion; 2,4,#hex, Play-offs; 9,11,#hex, Play-offs; 12,12,#hex, Relegation;
How can I specify this in your plugin? It would be easy to have an option for this in backend/admin, like f.e. Joomleague has.
As an alternative I used the code you specified in a different topic.
.page-id-142 .sp-league-table tbody tr:nth-child(1) td { border-bottom: 1px dashed #000; /* below 1st */ } .page-id-142 .sp-league-table tbody tr:nth-child(8) td { border-top: 1px dashed #000; /* above 12th */ }
A dashed line does appear above the 12th position, but not under the first. Any idea why?
Also, at our Player list (player_gallery) I used the option to sort the players by position. The positions are sorted alphabetical. Is there any way I can give the positions a value of some sort, so they sort the way I pre-set?
Thanks in advance!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Background colour ranking table & sorting of positions’ is closed to new replies.