Move alignment settings to above custom css

This commit is contained in:
Brian Miyaji
2014-06-22 18:32:38 +10:00
parent bb2c727176
commit 7e785aa450

View File

@@ -83,6 +83,19 @@ class SP_Settings_General extends SP_Settings_Page {
array( 'type' => 'frontend_styles' ), array( 'type' => 'frontend_styles' ),
array(
'title' => __( 'Align', 'sportspress' ),
'id' => 'sportspress_table_text_align',
'default' => 'default',
'type' => 'radio',
'options' => array(
'default' => __( 'Default', 'sportspress' ),
'left' => __( 'Left', 'sportspress' ),
'center' => __( 'Center', 'sportspress' ),
'right' => __( 'Right', 'sportspress' ),
),
),
array( array(
'title' => __( 'Custom CSS', 'sportspress' ), 'title' => __( 'Custom CSS', 'sportspress' ),
'id' => 'sportspress_custom_css', 'id' => 'sportspress_custom_css',
@@ -117,19 +130,6 @@ class SP_Settings_General extends SP_Settings_Page {
'checkboxgroup' => 'end', 'checkboxgroup' => 'end',
'desc_tip' => __( 'This will enable a script allowing the countdowns to be animated.', 'sportspress' ), 'desc_tip' => __( 'This will enable a script allowing the countdowns to be animated.', 'sportspress' ),
), ),
array(
'title' => __( 'Align', 'sportspress' ),
'id' => 'sportspress_table_text_align',
'default' => 'default',
'type' => 'radio',
'options' => array(
'default' => __( 'Default', 'sportspress' ),
'left' => __( 'Left', 'sportspress' ),
'center' => __( 'Center', 'sportspress' ),
'right' => __( 'Right', 'sportspress' ),
),
),
array( array(
'title' => __( 'Header Offset', 'sportspress' ), 'title' => __( 'Header Offset', 'sportspress' ),