• hussong

    (@hussong)


    Great theme, thanks a lot!

    Noticed a glitch in the typography customizer: When I set the font size to “18px” (with Open Sans), the resulting CSS output is “18” (without px). Other sizes I’ve tried work.

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Free WP TP

    (@freewptp)

    Hi @hussong,

    I hope you are well today and thanks for notifying us about the issue.

    Your help here is really appreciated.

    The issue will be resolved in the future version of the theme.

    In the meanwhile you can fix the issue by editing the theme code on line number 306 in the theme file functions.php as following.

    Before Editing :

    // Typography Options
    global $typography_options;
    $typography_options = array(
            'sizes' => array( '6px' => '6px','10px' => '10px','12px' => '12px','14px' => '14px','15px' => '15px','16px' => '16px','18'=> '18px','20px' => '20px','24px' => '24px','28px' => '28px','32px' => '32px','36px' => '36px','42px' => '42px','48px' => '48px' ),
            'faces' => array(
                    'arial'          => 'Arial',
                    'verdana'        => 'Verdana, Geneva',
                    'trebuchet'      => 'Trebuchet',
                    'georgia'        => 'Georgia',
                    'times'          => 'Times New Roman',
                    'tahoma'         => 'Tahoma, Geneva',
                    'Open Sans'      => 'Open Sans',
                    'palatino'       => 'Palatino',
                    'helvetica'      => 'Helvetica',
                    'Helvetica Neue' => 'Helvetica Neue,Helvetica,Arial,sans-serif'
            ),
            'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ),
            'color'  => true
    );

    After Editing :

    // Typography Options
    global $typography_options;
    $typography_options = array(
            'sizes' => array( '6px' => '6px','10px' => '10px','12px' => '12px','14px' => '14px','15px' => '15px','16px' => '16px','18px'=> '18px','20px' => '20px','24px' => '24px','28px' => '28px','32px' => '32px','36px' => '36px','42px' => '42px','48px' => '48px' ),
            'faces' => array(
                    'arial'          => 'Arial',
                    'verdana'        => 'Verdana, Geneva',
                    'trebuchet'      => 'Trebuchet',
                    'georgia'        => 'Georgia',
                    'times'          => 'Times New Roman',
                    'tahoma'         => 'Tahoma, Geneva',
                    'Open Sans'      => 'Open Sans',
                    'palatino'       => 'Palatino',
                    'helvetica'      => 'Helvetica',
                    'Helvetica Neue' => 'Helvetica Neue,Helvetica,Arial,sans-serif'
            ),
            'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ),
            'color'  => true
    );

    Thanks,
    Movin

    Thread Starter hussong

    (@hussong)

    Thanks for the quick reply and the fix!

    I’ve gone ahead and overwritten a lot of styles in my child theme anyway, so I’ll live with the customizer glitch ??

    Free WP TP

    (@freewptp)

    You are most welcome here ??

    This helped me too, thanks!

    @kaushal22 Glad it also worked for you ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Typography Customizer’ is closed to new replies.