AnsweredAssumed Answered

Pointing to a custom font file not working

Question asked by af7f8dce40924c084a286a4a63f3669009578a2c on Apr 28, 2016
Latest reply on Apr 29, 2016 by af7f8dce40924c084a286a4a63f3669009578a2c

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?

Outcomes