Last active
December 20, 2015 01:19
-
-
Save InoPlugs/6048421 to your computer and use it in GitHub Desktop.
Enfold styling adjustments for The Events Calendar, The Events Calendar Pro and WooTickets
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 code fixes | |
add_filter('tribe_get_embedded_map','avia_deactivate_google_api',10,1); | |
function avia_deactivate_google_api($google_map){ | |
global $avia_config; | |
if(!empty($google_map)) $avia_config['g_maps_widget_active'] = 1; | |
return $google_map; | |
} | |
//custom css | |
.tribe-events-uses-geolocation .tribe-bar-date-filter, .tribe-events-uses-geolocation .tribe-bar-search-filter, .tribe-bar-geoloc-filter, .tribe-events-uses-geolocation .tribe-bar-submit { | |
padding: 15px 15px 0; | |
} | |
#tribe-bar-form .tribe-bar-submit input[type=submit] { | |
word-wrap: break-word; | |
} | |
.tribe-bar-views-inner { | |
padding: 21px 0; | |
} | |
.datepicker.dropdown-menu td, .datepicker th.switch, .datepicker th.prev, .datepicker th.next { | |
border: none; | |
} | |
.datepicker td span { | |
width: 62px; | |
} | |
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"], .tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"]>a, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-button.tribe-active:hover { | |
background-color: #333; | |
} | |
.single-tribe_events #tribe-events-content .tribe-events-event-meta dt { | |
line-height: inherit; | |
margin-right: 5px; | |
} | |
.tribe-events-list .tribe-events-loop .tribe-events-content p { | |
word-break: break-word; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment