Skip to content

Instantly share code, notes, and snippets.

@madhvendras84
Created March 29, 2023 20:08
Show Gist options
  • Save madhvendras84/75c1202014a4dfc4f9e04ad152da35ad to your computer and use it in GitHub Desktop.
Save madhvendras84/75c1202014a4dfc4f9e04ad152da35ad to your computer and use it in GitHub Desktop.
<style>
#dashboard-event-calender-grid header.tribe-events-header, #dashboard-event-calender-grid h2.tribe-events-calendar-list__month-separator, #dashboard-event-calender-grid .tribe-events-c-subscribe-dropdown__container, #dashboard-event-calender-grid nav.tribe-events-calendar-list-nav.tribe-events-c-nav, #dashboard-event-calender-grid .tribe-events-calendar-list__event-description p, #dashboard-event-calender-grid span.tribe-events-calendar-series-archive__container svg {
display: none !important;
}
#dashboard-event-calender-grid .tribe-common-l-container.tribe-events-l-container {
min-height: unset !important;
padding: 0 !important;
}
#dashboard-event-calender-grid .tribe-events-calendar-list {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
#dashboard-event-calender-grid .tribe-common-g-row.tribe-events-calendar-list__event-row {
margin: 0 !important;
padding: 0 !important;
width: 200px;
min-height: 205px !important;
}
#dashboard-event-calender-grid .tribe-common-g-row.tribe-events-calendar-list__event-row {
display: flex !important;
flex-flow: column nowrap;
padding: 25px !important;
align-items: center;
}
#dashboard-event-calender-grid .tribe-events-calendar-list__event-details.tribe-common-g-col {
margin: unset !important;
padding: unset !important;
width: 100% !important;
}
#dashboard-event-calender-grid .tribe-events-calendar-list__event-datetime-wrapper.tribe-common-b2 {
display: flex !important;
flex-flow: column nowrap;
}
#dashboard-event-calender-grid span.tribe-events-calendar-series-archive__container {
font-family: 'montserrat' !important;
font-weight: 700;
font-size: 14px;
text-align: center;
}
#dashboard-event-calender-grid time.tribe-events-calendar-list__event-datetime {
text-align: center;
color: #7c7c7c !important;
font-size: 12px;
}
#dashboard-event-calender-grid span.tribe-events-calendar-series-archive__container a{
color: #0b1424 !important;
cursor: unset !important;
}
#dashboard-event-calender-grid h3.tribe-events-calendar-list__event-title{
text-align: center;
}
#dashboard-event-calender-grid h3.tribe-events-calendar-list__event-title a{
font-size: 12px;
background: #153a51 !important;
padding: 8px 12px;
border-radius: 25px;
color: #fff !important;
margin-bottom: 5px !important;
border: 2px solid #a2acb2;
}
#dashboard-event-calender-grid .tribe-common-g-row.tribe-events-calendar-list__event-row{
border: 2px solid #9d9d9d;
border-radius: 8px;
}
#dashboard-event-calender-grid .tribe-events-calendar-list__event-details.tribe-common-g-col{
padding: 0 15px !important;
}
#dashboard-event-calender-grid span.tribe-events-calendar-list__event-date-tag-weekday {
color: #777777 !important;
}
@media(max-width: 768px){
#dashboard-event-calender-grid .tribe-events-calendar-list{
justify-content: center !important;
}
#dashboard-event-calender-grid .tribe-common-g-row.tribe-events-calendar-list__event-row {
margin-bottom: 20px !important;
}
}
</style>
<script>
jQuery(document).ready(function($){
// $('#dashboard-event-calender-grid h3.tribe-events-calendar-list__event-title a.tribe-events-calendar-list__event-title-link').text('Add to Calender');
$("#dashboard-event-calender-grid span.tribe-events-calendar-series-archive__container a").removeAttr("href").css("cursor","pointer");
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment