Skip to content

Typography Issue with #1337 fast redux update #1339

@edcousins

Description

@edcousins

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions