Uploading custom fonts to landing pages

Anonymous
Not applicable

Uploading custom fonts to landing pages

Hi,

I am trying to upload a custom font to use on landing pages and forms. The font is not available on Google Fonts and is a bought licenced font. Has anyone had success with this before? When I edit the landing page template HTML and CSS it's not gettign applied.

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Uploading custom fonts to landing pages

Make sure to post questions to Products instead of Marketing Central.

You'll have to be more specific about the problems you're experiencing, including an actual LP URL.

Generally speaking, there are no problems viewing approved LPs that use fonts you've uploaded to your Marketo asset library, as those are same-domain fonts (of course they have to be referenced correctly in your CSS).  There are some possible issues in LP Editor mode, though.

Lauren_Beth
Level 6

Re: Uploading custom fonts to landing pages

Hi Deidre - in the editor our custom fonts often don't come through, but once live are perfectly fine.

SanfordWhiteman
Level 10 - Community Moderator

Re: Uploading custom fonts to landing pages

in the editor our custom fonts often don't come through, but once live are perfectly fine.

It's not so much often but always in certain browsers. This happens because of cross-domain security. What you need to do is load the fonts from a relative path when in the Editor, so they will safely load in both contexts.