Style the events calendar
This commit is contained in:
@@ -70,7 +70,7 @@ if ( !function_exists( 'sportspress_events_calendar' ) ) {
|
||||
/* translators: Calendar caption: 1: month name, 2: 4-digit year */
|
||||
$calendar_caption = _x('%1$s %2$s', 'calendar caption', 'sportspress');
|
||||
$calendar_output = '
|
||||
<table id="wp-calendar">
|
||||
<table id="wp-calendar" class="sp-calendar sp-events-calendar">
|
||||
<' . $caption_tag . ' class="sp-table-caption">' . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . '</' . $caption_tag . '>
|
||||
<thead>
|
||||
<tr>';
|
||||
|
||||
@@ -32,6 +32,16 @@
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Events Calendar */
|
||||
.sp-events-calendar tbody td, .sp-events-calendar thead th {
|
||||
text-align: center;
|
||||
}
|
||||
.sp-events-calendar #next {
|
||||
text-align: right;
|
||||
}
|
||||
.sp-events-calendar #prev {
|
||||
text-align: left;
|
||||
}
|
||||
/* Events List */
|
||||
.sp-events-list .column-article {
|
||||
white-space: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user