You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once settings are saved, typography field outputs text-align: inherit in CSS even if text-align is not used in its defaults. This overrides text-align defined theme's CSS for the same element.
If .test a is targeted in CSS using the typography field in the code below. <a> is aligned to the left instead of center. This happens due to text-align: inherit in Kirki's CSS output.
<divclass="test"><ahref="#">This is a link</a></div>
Issue description:
Once settings are saved,
typography
field outputstext-align: inherit
in CSS even iftext-align
is not used in its defaults. This overridestext-align
defined theme's CSS for the same element.If
.test a
is targeted in CSS using thetypography
field in the code below.<a>
is aligned to the left instead of center. This happens due totext-align: inherit
in Kirki's CSS output.Version used:
v2.2.7
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: