Last active
December 24, 2015 12:08
-
-
Save ckpicker/6795200 to your computer and use it in GitHub Desktop.
Community 3.1 Add-on // Add CSS to 'Submit Event' page
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
add_action( 'wp_head', 'community_add_css' ); | |
function community_add_css() { | |
if (tribe_is_community_edit_event_page()) { | |
?> | |
<style> | |
/*Target all text input fields on the event submission form and change width*/ | |
.tribe_community_edit input[type='text'] {width:150px !important;} | |
/* PUT OTHER CSS HERE FOR MORE CUSTOMIZATIONS*/ | |
</style> | |
<?php | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment