-
Notifications
You must be signed in to change notification settings - Fork 585
Closed
Description
Using this field:
array(
'id'=>'h2_font',
'type' => 'typography',
'title' => __('H2 Font', 'swift-framework-admin'),
'subtitle' => __('Specify the H2 font properties.', 'swift-framework-admin'),
'google'=> true,
'font-backup'=>true,
'text-align'=>false,
'color'=>false,
'letter-spacing'=>true,
'all_styles' => true, // Enable all Google Font style/weight variations to be added to the page
'output' => array('h2,.blog-item .quote-excerpt'), // An array of CSS selectors to apply this font style to dynamically
'compiler' => array('h2,.blog-item .quote-excerpt'), // An array of CSS selectors to apply this font style to dynamically
'units'=>'px', // Defaults to px
'default' => array(
'font-size'=>'20px',
'line-height'=>'30px',
'font-family'=>'Lato',
'font-weight'=>'Normal',
),
),
When saving the theme options panel occasionally, the font-weight and style will reset to blank.
- Ed
Metadata
Metadata
Assignees
Labels
No labels