Page 1 of 1

[Resolved] Unexpected font sizes in CSS file

Posted: Thu Jan 09, 2020 5:13 pm
by Cantenac
Hello

I'm just building my first site using QWB, based on a Flex Grid (using version 7.1.1 64bit on Windows 8.1).

I'm finding that the font sizes in the Style Manager aren't being correctly reflected in the CSS file being generated.

For example, in the default view:
  • H1 is set to 24px, but appears in the CSS as 32px.
  • H2 is set to 20px, but appears in the CSS as 27px.
This also applies to new styles I've added; one is set to 16px but appears as 21px.

This was unexpected - but perhaps it's intentional?

Re: Unexpected font sizes in CSS file

Posted: Fri Jan 10, 2020 7:29 am
by Pablo
The font size in the design are in point, like in most design tools. The published is in pixels to make sure the sizes are the same on all devices.
Image

Re: Unexpected font sizes in CSS file

Posted: Fri Jan 10, 2020 8:21 pm
by Cantenac
Thanks for the explanation!