Created
December 4, 2015 22:48
-
-
Save geoffgraham/3557f5eea6b411d3a615 to your computer and use it in GitHub Desktop.
The Events Calendar 4.0 // Hide Saturday and Sunday in Month View
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
/* Hide Weekends the Events Calendar Monday First Day of Week */ | |
.tribe-events-calendar th#tribe-events-sunday, | |
.tribe-events-calendar th#tribe-events-saturday, | |
.tribe-events-calendar tr td:first-child, | |
.tribe-events-calendar tr td:last-child { | |
display: none; | |
} | |
/* Hide Weekends the Events Calendar Monday First Day of Week */ | |
.tribe-events-calendar th#tribe-events-sunday, | |
.tribe-events-calendar th#tribe-events-saturday, | |
.tribe-events-calendar tr td:nth-child(7), | |
.tribe-events-calendar tr td:last-child { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi from France.
Those 2 snippets seem to do the exact same thing.
Is there something am I missing ?
Thanks for this work !
See you.
Franck.