[Solved] Help adding font

Hey @Thimo ,
Thanks for sharing. I’m trying with this font (Avenir Black : Download For Free, View Sample Text, Rating And More On Fontsgeek.Com) and it’s not working.
Any idea?

Custom css file from your app: //6ba0b20724155859eef1f1299557e13b.cdn.bubble.io/f1683021324551x967705574231075500/font.css
paste here:

@anthony4 Please look at the below instructions. The name of your font should be the same as the file name you are uploading. In your case you are uploading ‘font’ not ‘AvenirBold’ . Also remove the ‘https:’ from your path

2 Likes

A heads-up for anyone trying to achieve this, the initial instructions from @emmanuel state that the CSS font name should include ’ before and after the name, after a lot of trial and error, I got it working by removing the ’ from the font name:

Before:
font-family: 'Free Sans';

After:
font-family: Free Sans;

This solved the “invalid” font for me.

2 Likes

Big thanks. This is somehow connected to the switchover from S3 hosting. I had uploaded custom fonts previously, but it was years ago. I went to upload a new one, I used the same .css files I had used previously and I was getting an error every time.

I removed those single quotes and it worked. Hopefully @emmanuel @josh or someone at Bubble will address this and update the documentation.