Last active
September 2, 2020 11:31
-
-
Save cliffordp/cc30fba3242c495a26bd to your computer and use it in GitHub Desktop.
Hide past events on The Events Calendar's Month View -- Before: http://cl.ly/3x2o3N2K3z1r -- After: http://cl.ly/0H431E2L0i17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* From https://gist.github.com/cliffordp/cc30fba3242c495a26bd/ | |
* | |
* Hide past events on The Events Calendar's Month View | |
* | |
* Without this snippet: http://cl.ly/3x2o3N2K3z1r | |
* With this snippet: http://cl.ly/0H431E2L0i17 | |
* | |
*/ | |
.tribe-events-calendar td.tribe-events-past .tribe-events-month-event-title a, | |
.tribe-events-calendar td.tribe-events-past .tribe-events-viewmore a, | |
.tribe-events-calendar td.tribe-events-past .tribe-events-viewmore { | |
display: none; | |
} | |
.events-archive.events-gridview #tribe-events-content table.tribe-events-calendar td.tribe-events-past .type-tribe_events { | |
border: none; | |
box-shadow: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
have you a new Version ?