Hi all,
I have a landing page that needs a custom font. The font file is situated in the "Images and Files" section of Marketo here.
I reference this file with my on-page CSS:
@font-face {
font-family: 'AvenirNextLTPro-Regular';
src: url('http://k2nelanding.k2.com/rs/558-ODB-376/images/AvenirNextLTPro-Regular.woff') format('woff'),
url('http://k2nelanding.k2.com/rs/558-ODB-376/images/AvenirNext-Regular.ttf') format('truetype');
}
body {
font-family:AvenirNextLTPro-Regular;
}
This is not working. As you can see I reference .ttf file too but I don't see any change in font.
Can somebody shed some light on this matter please?
Solved! Go to Solution.
"hosting font files in Marketo is not supported at the moment"
Case: 00576320
Hi Ervin
I cannot see anything wrong with the code.
As you know different browsers support a different set of font formats, you'll need to provide a set of alternatives for each browser (browser support .eot.woff *ttf) so you must provide alternative src for you fonts.
try looking in IE, Crome, Firefox and let me know
Is this still the case? Is hosting fonts in Marketo not available/not advised?