Hi team,
I have various cloud templates where the Single Post Content has font size for Post Content manually defined.
Unfortunately, setting this option then overrides WordPress Typography settings. If an author writing a post chooses the preset S, M, L or XL options in the post creator, the setting is not applied; font size remains as what is set in the cloud template.
However, if the author chooses to set a custom font size, this does work.
I believe this to be a bug, if the author selects one of the WordPress preset font sizes, that should take precedence over the cloud template.
https://imgur.com/a/PiFUdV7 – in this example, the second paragraph is configured by the author as size small. It shows correctly in the post creator, but will render incorrectly when published due to the cloud template. While every other paragraph should adhere to the cloud template, this paragraph must retain the author preference.
In other words, typography presets should override the cloud template, not the other way around.
Can this be fixed?
Thanks!
Hi,
To apply the font set by the user make sure that on single post content there is no font settings set – https://i.imgur.com/MZZ6DUB.png then the results will be the same – https://i.imgur.com/8IkOoMZ.png – https://i.imgur.com/UNKkgdv.png
Hi Calin,
This does work, but isn’t ideal and introduces other limitations. I want to be able to change the post content font size, as well as headers and block quotes, using the cloud template.
If I’m forced not to set font settings in the cloud template, how else can I customise the style of posts?
Ideally, we should be able to use both. The cloud template to style posts across the site, and the user settings for individual changes.
Hello,
I understand your concern. Currently, the settings work as follows:
When fonts are left at their default (i.e., not explicitly set), the text will display using the styles defined by the author and the theme’s default settings. However, if fonts are specified in the cloud template, those font settings will override the defaults and apply to the content assuming they are the ones you intend to use.
Hi Calin,
Is there any way to improve this in a future update? I think the styles defined by an author should override what’s configured in the cloud template.
Alternatively, what would you recommend as a workaround? For example, if I want posts in a certain category to have post content font size 17 and block quote font size 18, how would I be able to configure that and still allow authors to apply their own stylings within a post?
Hi,
What I can do is to add it on our list and I just did it 😀
As an alternative, I think it can be used a css on the exact same classes and without the !important
For example:
.tagdiv-type {
font-size: 17px;
line-height: 1.4;
color: #222;
}
Set the code in the theme panel > custom code> custom css.
I hope this will help!
Thank you!
