Created
July 22, 2017 04:46
-
-
Save GeoffEW/badc00e12c439fb2bd8c050b98b481a2 to your computer and use it in GitHub Desktop.
Uses CSS to hide certain hours in the week 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
/* start at 8:00 AM */ | |
.tribe-week-grid-inner-wrap > .tribe-week-grid-block:nth-child(-n+8), | |
.tribe-week-grid-hours > div:nth-child(-n+8) { | |
display: none; | |
} | |
/* end at 10:00 PM */ | |
.tribe-week-grid-inner-wrap > .tribe-week-grid-block:nth-child(11), | |
.tribe-week-grid-hours > div:nth-child(11) { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment