I’m using the Out of the Sandbox theme “Flex” and have a custom font uploaded to my site. When I use dev tools to inspect the site, the correct font name is showing up but it’s not the font that I’ve added to the site.
The font that I need on my site is “Marilyn Wilde” and it’s a script font. The font displayed is a serif font. When I inspect the page using dev tools, the font is being called Marilyn Wilde but it’s not the script font.
I’ve uploaded the Marilyn Wilde font to the assets on my site and am using this code:
Hi Kani, Thanks so much for trying to help me troubleshoot this. Here’s the
exact code I have: @font-face {
font-family: ‘MarilynWilde-Regular’;
src: url({{‘MarilynWilde-Regular.woff’) | asset_url }}) format
(‘woff’);
}
I do have the font uploaded as woff under assets. Do I have to upload every
single file type for this to work or will just woff be okay?