Fix option typo
This commit is contained in:
@@ -185,7 +185,6 @@ class SP_Settings_General extends SP_Settings_Page {
|
|||||||
if ( empty( $colors['text'] ) ) $colors['text'] = '#ffffff';
|
if ( empty( $colors['text'] ) ) $colors['text'] = '#ffffff';
|
||||||
if ( empty( $colors['background'] ) ) $colors['background'] = '#3a3a3a';
|
if ( empty( $colors['background'] ) ) $colors['background'] = '#3a3a3a';
|
||||||
if ( empty( $colors['alternate'] ) ) $colors['alternate'] = '#494949';
|
if ( empty( $colors['alternate'] ) ) $colors['alternate'] = '#494949';
|
||||||
if ( empty( $colors['alternatea'] ) ) $colors['alternatea'] = '#494949';
|
|
||||||
|
|
||||||
// Show inputs
|
// Show inputs
|
||||||
$this->color_picker( __( 'Primary', 'sportspress' ), 'sportspress_frontend_css_primary', $colors['primary'] );
|
$this->color_picker( __( 'Primary', 'sportspress' ), 'sportspress_frontend_css_primary', $colors['primary'] );
|
||||||
|
|||||||
@@ -83,8 +83,8 @@ class SP_Frontend_Scripts {
|
|||||||
if ( isset( $colors['background'] ) )
|
if ( isset( $colors['background'] ) )
|
||||||
echo '.sp-data-table tbody,.sp-calendar tbody{background: ' . $colors['background'] . ' !important}';
|
echo '.sp-data-table tbody,.sp-calendar tbody{background: ' . $colors['background'] . ' !important}';
|
||||||
|
|
||||||
if ( isset( $colors['alternatea'] ) )
|
if ( isset( $colors['alternate'] ) )
|
||||||
echo '.sp-data-table tbody tr.odd,.sp-data-table tbody tr.alternate,.sp-calendar tbody td#today{background: ' . $colors['alternatea'] . ' !important}';
|
echo '.sp-data-table tbody tr.odd,.sp-data-table tbody tr.alternate,.sp-calendar tbody td#today{background: ' . $colors['alternate'] . ' !important}';
|
||||||
|
|
||||||
echo '</style>';
|
echo '</style>';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user