bpardee
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Thanks! That worked perfectly. I also added *_email and *_name. Nice fix. Hopefully, you will add editing as a new feature.
Forum: Themes and Templates
In reply to: [Sydney] cannot read font sizesForum: Themes and Templates
In reply to: [Sydney] cannot read font sizesI was having the same problem. It is definitely because of the upgrade from 4.4.2 to 4.5. It is caused by the element style on input[“number”].
To fix the problem permanently you have to edit the sydney/inc/customizer.php file and remove the style off of the input number controls.
Remove this line from the 15 input number control items
'style' => 'margin-bottom: 15px; padding: 10px;',Here is the first one:
BEFORE
$wp_customize->add_control( 'wrapper_top_padding', array( 'label' => __( 'Page wrapper - top padding', 'sydney' ), 'section' => 'sydney_general', 'type' => 'number', 'description' => __('Top padding for the page wrapper (the space between the header and the page title)', 'sydney'), 'priority' => 10, 'input_attrs' => array( 'min' => 0, 'max' => 160, 'step' => 1, 'style' => 'margin-bottom: 15px; padding: 10px;', ), ) );AFTER
$wp_customize->add_control( 'wrapper_top_padding', array( 'label' => __( 'Page wrapper - top padding', 'sydney' ), 'section' => 'sydney_general', 'type' => 'number', 'description' => __('Top padding for the page wrapper (the space between the header and the page title)', 'sydney'), 'priority' => 10, 'input_attrs' => array( 'min' => 0, 'max' => 160, 'step' => 1, ), ) );
Viewing 3 replies - 1 through 3 (of 3 total)