Forked from joshfeck/calendar-print-styles.css
Last active
September 29, 2021 10:38
-
-
Save Pebblo/1b0f7a845f5e3327f75918162d8459ec to your computer and use it in GitHub Desktop.
Custom styles for the Event Espresso 4 events calendar's iframe. Add the calendar-iframe-custom-styles.css file to your child theme (top level).
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
#ee-category-legend-ul #ee-category-li-70, | |
#ee-category-submit option[value=unlisted] { | |
display:none | |
} |
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
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
add_filter('FHEE__CalendarIframe__display__css', 'tw_ee_add_iframe_calendar_custom_styles', 11, 2); | |
function tw_ee_add_iframe_calendar_custom_styles(array $stylesheets, $object) { | |
$stylesheets['calendar_iframe_custom'] = get_stylesheet_directory_uri() . DS . 'calendar-iframe-custom-styles.css'; | |
return $stylesheets; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment