-
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
Font Variant outputs invalid property value (typography field) #1058
Comments
How can we separate these two properties (font-weight & font-style) from the variant value. As you can see in this screenshot both values are coming from the variant property together. Used Code in frontend:
Thanks for you help. highly appreciated. |
Hey there! This shouldn't be happening in the frontend... |
I didn't wrote any custom functions. Just registered the typography field ( like above code) & injected the output in wp_head action using the code below.
As you can see Im printing the value in font-weight property. Can't find how to separate these two property from the variant. Note that: in the customizer preview the variant shows font-weight & font-style separately which is actually I am trying to achieve for the frontend. Do you have any idea how I can get this? Thank You. |
Doing some cleaning-up in the issues queue and I saw I dropped the ball on this one.. |
Version 3.0 works fine so I'm closing this one. |
Issue description:
The font variant is outputting invalid property value . See screenshot: prntscr . Italic values are not working ( prntscr ) but others are fine. The regular property also returning invalid property value. But if I replace normal with the regular property it works fine.
Version used:
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
2.3.5
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
The text was updated successfully, but these errors were encountered: