Skip to content
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 field: font-style missing in CSS output if variant is regular/400 #977

Closed
rahulv3a opened this issue May 17, 2016 · 0 comments
Closed

Comments

@rahulv3a
Copy link

rahulv3a commented May 17, 2016

Issue description:

If variant in typography field is 400 or regular, it doesn't output font-style: normal. This causes the element to inherit font-style from the parent elements which defeats the purpose of using typography field.

Version used:

Latest commit in develop branch, 556c23d.

Using theme_mods or options?

theme_mods

To reproduce the issue

Use one typography field on h1, h2, h3, h4, h5, h6 and another typography field on .widget-title. In the customizer, set font variant of h1, h2, h3, h4, h5, h6 to italic and .widget-title to regular. This would cause .widget-title to be italic as well.

@rahulv3a rahulv3a changed the title typography field: font-style in CSS output if variant is regular/400 typography field: font-style: regular missing in CSS output if variant is regular/400 May 17, 2016
@rahulv3a rahulv3a changed the title typography field: font-style: regular missing in CSS output if variant is regular/400 typography field: font-style missing in CSS output if variant is regular/400 May 17, 2016
@rahulv3a rahulv3a mentioned this issue May 24, 2016
aristath added a commit that referenced this issue May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant