I see the below error regarding incorrect MIME type, in wappler, but can not locate the source of the error. Where in wappler is this call to fonts.googleapi.com? I've looked in my layout page source and style.css. TIA
When done properly, when you set a font in the Theme Manager, it will show as an import in bootstrap.css.
Thanks Ben. I'm still not sure what's causing this error. I do have Arial defined in theme manager for san serif. Here's my bootstrap.css file:
It doesn't appear to store any MIME type in the file unless I'm overlooking it.
I read somewhere (forget where), that comments in a style sheet could cause problems.
So, instead of
@import"https://fonts.googleapis.com/css?family=Arial:400";/*!
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/:root,[data-bs-theme=light]{--bs-blue: .......
Try re-formatting the style sheet as in
@import"https://fonts.googleapis.com/css?family=Arial:400";
/*
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
:root,[data-bs-theme=light]{--bs-blue: .......