Custom Font Not Displaying On Certain Browsers

This worked for me perfectly, thank you so much @GemJ . Would you happen to know how to add a variable to the font too? Eg. I’ve uploaded a regular and an italic version of the .woff2 font and unsure how to link the two in the code so when i select italics in the body it’s overridden with the italic version of that font. Thank you!