Forum Replies Created
-
AuthorPosts
-
Looks like everything is working! Thanks!
I just tried to download the update and it told me my download link was expired.
I have not. I haven’t gotten a prompt to update it yet on the dashboard. Do you have a link to it I can use?
Fatal error: Call to undefined function lmaoBuildSchoolsCntl() in /home/kcmsathl/public_html/wpress/wp-content/plugins/mstw-league-manager/includes/mstw-lm-team-cpt-admin.php on line 121
So Conf_Wins is not an acceptable variable for the $new_points filter?
Just before you replied I figured it out. I took out the entire tr:nth-child argument and just changed it to .home-game/.away-game.
/*---------------------------------------------- * Styles for the Horace Mann team schedules *----------------------------------------------*/ table.mstw-lm-team-schedule_horace-mann-middle-school thead tr th { background-color: #007500; /* green */ color: #FFFFFF; /* white */ font-weight: bold; border-top: 1px solid #FFFFFF; /* white */ border-bottom: 1px solid #FFFFFF; /* white */ } table.mstw-lm-team-schedule_horace-mann-middle-school .away-game { background-color: #FFFFFF; /* white */ color: #007500; /* green */ } table.mstw-lm-team-schedule_horace-mann-middle-school .home-game { background-color: #007500; /* green */ color: #FFFFFF; /* white */ } table.mstw-lm-team-schedule_horace-mann-middle-school tbody tr td { border-top: 1px solid #FFFFFF; /* white */ border-bottom: 1px solid #FFFFFF; /* white */ } table.mstw-lm-team-schedule_horace-mann-middle-school a { text-decoration: underline; } table.mstw-lm-team-schedule_horace-mann-middle-school a:hover { text-decoration: none; } table.mstw-lm-team-schedule_horace-mann-middle-school .away-game a, table.mstw-lm-team-schedule_horace-mann-middle-school .away-game a:hover, table.mstw-lm-team-schedule_horace-mann-middle-school .away-game a:visited, table.mstw-lm-team-schedule_horace-mann-middle-school .away-game a:active { color: #007500; /* green */ } table.mstw-lm-team-schedule_horace-mann-middle-school .home-game a, table.mstw-lm-team-schedule_horace-mann-middle-school .home-game a:hover, table.mstw-lm-team-schedule_horace-mann-middle-school .home-game a:visited, table.mstw-lm-team-schedule_horace-mann-middle-school .home-game a:active { color: #FFFFFF; /* white */ }
Result: http://wpress.kcmsathletics.com/baseball/horace-mann-middle-school-baseball/
For those trying to stumble or are new to CSS, I found a great website that will help: https://www.w3schools.com/cssref/default.asp
So I tried to change the CSS tags from odd, even to home-game, away-game and it didn’t work and I’m wanting to make sure that I did it correctly. Here’s the CSS code that I used:
/*---------------------------------------------- * Styles for the Horace Mann team schedules *----------------------------------------------*/ table.mstw-lm-team-schedule_horace-mann-middle-school thead tr th { background-color: #007500; /* green */ color: #FFFFFF; /* white */ font-weight: bold; border-top: 1px solid #FFFFFF; /* white */ border-bottom: 1px solid #FFFFFF; /* white */ } table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(away-game) { background-color: #FFFFFF; /* white */ color: #007500; /* green */ } table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(home-game) { background-color: #007500; /* green */ color: #FFFFFF; /* white */ } table.mstw-lm-team-schedule_horace-mann-middle-school tbody tr td { border-top: 1px solid #FFFFFF; /* white */ border-bottom: 1px solid #FFFFFF; /* white */ } table.mstw-lm-team-schedule_horace-mann-middle-school a { text-decoration: underline; } table.mstw-lm-team-schedule_horace-mann-middle-school a:hover { text-decoration: none; } table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(away-game) a, table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(away-game) a:hover, table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(away-game) a:visited, table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(away-game) a:active { color: #007500; /* green */ } table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(home-game) a, table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(home-game) a:hover, table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(home-game) a:visited, table.mstw-lm-team-schedule_horace-mann-middle-school tr:nth-child(home-game) a:active { color: #FFFFFF; /* white */ }
Link: http://wpress.kcmsathletics.com/baseball/horace-mann-middle-school-baseball/
I’ve used the shortcodes (which are great!) and was wondering about the CSS tags.
Here’s a link: http://wpress.kcmsathletics.com/baseball/mckinley-middle-school-baseball/
Thanks!
-
AuthorPosts