Font weight and font style set to normal by default
Hello,
I have a question regarding the typography field. Why are font-weight and font-style set to normal by default in typography field, even if I disable them in field setup? I want only font-family to be set, but style and weight are added automatically.
My custom theme's using WP 4.0 with Redux 3.3.8.4.
array( 'id' => 'opt-font-cursive', 'type' => 'typography', 'title' => __( 'Cursive Font', 'boutique' ), 'subtitle' => __( 'Specify the cursive font.', 'boutique' ), 'desc' => __( 'This font is used for blockquotes.', 'boutique' ), 'output' => array( 'blockquote' ), 'compiler' => true, 'font-style' => false, 'font-weight' => false, 'font-size' => false, 'subsets' => false, 'line-height' => false, 'text-align' => false, 'color' => false, 'default' => array( 'font-family' => 'Abel', ), )
It generates this style code:
blockquote{font-family:Abel;font-weight:normal;font-style:normal;}
This hard-coded style and weight values override my other styles.
Thanks!
Fixed with v3.3.8.6 :)
Thanks a lot for a super-quick response! ;)