-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typography not working in 3.0.10 #1564
Comments
+1 |
This seems to be working fine: Kirki::add_field( 'kirki_demo', array(
'type' => 'typography',
'settings' => 'body_typography',
'label' => esc_attr__( 'Body Typography', '_s' ),
'description' => esc_attr__( 'Select the main typography options for your site.', '_s' ),
'help' => esc_attr__( 'The typography options you set here apply to all content on your site.', '_s' ),
'section' => 'typography',
'priority' => 10,
'default' => array(
'font-family' => 'Roboto',
'variant' => '400',
'font-size' => '16px',
'line-height' => '1.5',
'color' => '#333333',
),
'transport' => 'auto',
'output' => array(
array(
'element' => 'body',
),
),
) ); Do you by any chance have any CSS rules in a css file that may be overriding the CSS rules that Kirki outputs? |
yeah its working fine now all i did is updating the kirki-fallback.php file i think it was causing the problem now everything is working fine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi
so I'm working with kirki on a theme im developing and i'm facing a little problem with the typography
here is the code I'm using the problem is when i change the font family nothing happens even when i did the use the typography filed still nothing happens
font using a select field
font using typography field
in both examples when i do change the font family in the customizer nothing happens.
is there is something I'm missing because i think the style get generated automatically when using the output argument
Version used: 3.0.10
Using theme_mods or options?
theme_modsThe text was updated successfully, but these errors were encountered: