Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Last active December 24, 2015 12:08
Show Gist options
  • Save ckpicker/6795200 to your computer and use it in GitHub Desktop.
Save ckpicker/6795200 to your computer and use it in GitHub Desktop.
Community 3.1 Add-on // Add CSS to 'Submit Event' page
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