Not a bug Email font size

Hybrid life

Member
Affected version
2.1
Hello
After the XF update to 2.1, the size of the font in the email is too big and I didn't find the settings to change it. Thank you for your help.
 
What size do you have set in ACP > Appearance > Styles > Your Style > Style properties > Typography > Normal font size ?
 
I think this is likely something to contact your style developer about. I presume they have made changes for fonts to be based in rem (probably including changing the default font size as normally 1.4rem would be quite large). They would also need to apply those changes to emails (or add properties so different sizes are used).
 
OP ever find a solution to this - same thing. Thanks

Edit: solved. As Mike explained, something with 3rd party styles. In core.less in the email section was:

/* solution for pxs */
@fontSizeNormal: unit(10 * @xf-fontSizeNormal, px);
etc
etc

Removing "10 *" solved this.
 
Last edited:
Just wanted to quickly post and say this solved my problem. Thank you!

In case anyone else is reading this and still isn't 100% clear, I only removed the "10 *" from the font size largest line of code.

So I ended up with this:

/* solution for pxs */
@fontSizeNormal: unit(10 * @xf-fontSizeNormal, px);
@fontSizeLargest: unit(@xf-fontSizeLargest, px);
@fontSizeSmall: unit(10 * @xf-fontSizeSmall, px);

Previously, my forum title and private message title were massive...font size 200. This fixed the issue.
 
Top Bottom