Adjust box score section styling
This commit is contained in:
@@ -584,7 +584,7 @@
|
|||||||
|
|
||||||
/* Post Content */
|
/* Post Content */
|
||||||
|
|
||||||
.sp-post-content {
|
.single-sp_team .has-post-thumbnail .sp-post-content {
|
||||||
clear: none;
|
clear: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -608,4 +608,8 @@
|
|||||||
.widget .sp-template-event-calendar tbody td {
|
.widget .sp-template-event-calendar tbody td {
|
||||||
padding: 10px 5px !important;
|
padding: 10px 5px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sp-template-event-performance-icons.sp-template-event-performance-section:nth-child(2n) {
|
||||||
|
padding-top: 61px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -59,6 +59,7 @@ function sp_body_class( $classes ) {
|
|||||||
$classes[] = 'sp-has-results';
|
$classes[] = 'sp-has-results';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$classes[] = 'sp-performance-sections-' . get_option( 'sportspress_event_performance_sections', -1 );
|
||||||
} elseif ( 'sp_team' == $post_type && 'yes' == get_option( 'sportspress_team_show_logo', 'yes' ) ) {
|
} elseif ( 'sp_team' == $post_type && 'yes' == get_option( 'sportspress_team_show_logo', 'yes' ) ) {
|
||||||
$classes[] = 'sp-show-image';
|
$classes[] = 'sp-show-image';
|
||||||
} elseif ( 'sp_player' == $post_type && 'yes' == get_option( 'sportspress_player_show_photo', 'yes' ) ) {
|
} elseif ( 'sp_player' == $post_type && 'yes' == get_option( 'sportspress_player_show_photo', 'yes' ) ) {
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ if ( is_array( $teams ) ):
|
|||||||
'link_posts' => $link_posts,
|
'link_posts' => $link_posts,
|
||||||
'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
|
'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
|
||||||
'primary' => 'primary' == $total ? $primary : null,
|
'primary' => 'primary' == $total ? $primary : null,
|
||||||
'class' => 'sp-template-event-performance-team-' . $index . ' sp-template-event-performance-section-' . $section_id . ' sp-template-event-performance-team-' . $index . '-section-' . $section_id,
|
'class' => 'sp-template-event-performance-team-' . $index . ' sp-template-event-performance-section sp-template-event-performance-section-' . $section_id . ' sp-template-event-performance-team-' . $index . '-section-' . $section_id,
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user