Wrong font-weight in Cornerstone 7.6

Hello,
setting the headline font-weight in cornerstones globals/options to bold(500) creates a css “font-weight: fw-bold” as this invalid, the wrong font width is shown. Setting it to “normal(400)”, I get a “font-weight: fw-normal” - also invalid. The font is a custom font. Using it in cornerstone elements works perfect.
I guess there’s bug in 7.6 as it worked before the update.
Best regards
Uli

Hello Uli,

Thank you for the inquiry.

We can’t reproduce the issue on our end – adjusting the Headings > Font Weight settings works as expected.

Please create a test page and provide the login details in the secure note so that we can check the issue further.

Best regards,
Ismael

Thank you Ismael. I did send a secure note.

Thank you for the update.

We’ve found the issue with the font weight styling. A fix will be included in the next update. In the meantime, you can manually style the headline elements by adding this code to the Custom Code > Global CSS field:

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .x-text-headline {
  font-weight: 'bold';
}

Adjust the value based on the selected font weight.

Let us know if you need more info.

Best regards.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.