Page Builder - Fonts not updating

Hi!
There is a Page Builder account that isn’t pulling in the correct font ( we want Oswald, but it is using Baskerville)
The CSS for fonts under the Design Tab is here:

"
https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Nunito+Sans:wght@300&family=Oswald:wght@400;500&display=swap’);
h1,h2,h3,h4,h5,h6 {
font-family: ‘Oswald’;
font-weight: 500;
}
body, .btn {
font-family: ‘Nunito Sans’;
"
Was this done incorrectly?

I also noticed that it instructs
“// Import fonts here, do not import fonts in individual module files”

I see in the custom header and footer it has the same “‘https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Nunito+Sans:wght@300&family=Oswald:wght@400;500&display=swap’)” listed. Could this be the cause of the problem?

Thank you!

Emily,

Sharing the findings from our investigation of the issue for future reference:

  1. The custom theme’s CSS file contained some non-breaking spaces (which are different from normal spaces).
  2. The custom header module’s CSS file contained several invalid characters.
  3. The custom footer module’s CSS content was minified. After reformatting with CSS Formatter, we were able to fix the issue. It is likely that there were still some invalid characters that got transformed by the converter.

In summary, removing the unrecognized characters mentioned above fixed the issue!

Best,
DJ