This repository has been archived by the owner on Feb 17, 2025. It is now read-only.
Videomaker: locally-hosted font path is wrong #5661
Labels
[Theme] Videomaker
Automatically generated label for videomaker.
Steps to replicate
Activate Videomarker (on a WP.org / self-hosted version of WordPress). Check Dev Tools. Failure to load font error will display. :)
Result
You should see this error:
"Downloadable font: download failed (font-family: "Inter" style:normal weight:100..900 stretch:100 src index:0): status=2147746065 source: https://devsite.xyz/assets/fonts/Inter-roman.var.woff2/"
Expected
Unless I'm missing something super obvious since I generally only have worked with hybrid / classic themes, the path to the font should not be absolute. As a result the path is missing the necessary
/wp-content/themes/videomarker
bit when loading on the front end.To get it to work for me I have to hack the CSS file as such, changing the path and removing the slash at the end that was recently added as well.
src: url("./fonts/Inter-roman.var.woff2") format("woff2");
The text was updated successfully, but these errors were encountered: