-
Notifications
You must be signed in to change notification settings - Fork 329
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 control issues #746
Comments
@misfist This was just fixed in the develop branch and will be included in the next release of the plugin. If you can test it and confirm it fixes the issue for you as well I'd really appreciate it! You can test it by downloading the develop branch, or simply by replacing the Thank you for reporting this! The more stuff you report the better this plugin will keep getting 👍 |
I switched to the develop branch and confirmed that my local version is identical to the one you posted.
body{font-family:Lato, Helvetica, Arial, sans-serif;font-weight:300;font-size:16px;line-height:1.5;}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:Roboto, Helvetica, Arial, sans-serif;font-weight:100;} It doesn't look like there is any code to output the color. I found adding the follow worked as expected: // Take care of color
if ( isset( $value['color'] ) && ! empty( $value['color'] ) ) {
$this->styles[ $output['media_query'] ][ $output['element'] ]['color'] = $value['color'];
} The output is: body{font-family:Lato, Helvetica, Arial, sans-serif;font-weight:300;font-size:16px;line-height:1.5;color:#DD3333;}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:Roboto, Helvetica, Arial, sans-serif;font-weight:100;} |
You're absolutely right... I don't know how I missed that! |
This one was posted on #717 (comment) by @misfist, I'm copying the message here since it's a completely different issue:
I finding the following when using the _S fork with Kirki Toolkit Version 2.2.3:
Typography Controls:
letter-spacing:;
is output even though there is no letter spacing field supplied.color
is not output at all even when a color is selected.Here is a screenshot of my saved selection:
Here is the CSS that is output:
body{font-family:Lato, Helvetica, Arial, sans-serif;font-weight:300;font-size:16px;line-height:1.5;letter-spacing:;}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:Roboto, Helvetica, Arial, sans-serif;font-weight:100;font-size:;line-height:;letter-spacing:;}Arial, sans-serif;font-weight:100;font-size:;line-height:;letter-spacing:;}
The text was updated successfully, but these errors were encountered: