Gabe,
It looks like my original reply never made it through, so I want to chime in now and say that this is a HUGE tip that will save a ton of time. Great timing, too!
Between you and I (and the rest of the Community) we’re currently in the works of building out a new text editor for the builder that will allow you to use more custom Google fonts. We’re still a bit away from a public release, so this will definitely help smart marketers like yourself in the meantime.
Awesome work, my friend!
Hey Gabriel,
Thank you for sharing this!
Hi Gabriel, thanks for this advise… but somehow i cant get it to work…
This is what I copied from the CSS / Style sheet:
@font-face { font-family: 'Populaire'; src:
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_0_0.eot') format('embedded-opentype'),
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_0_0.woff') format('woff'),
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_0_0.ttf') format('truetype'),
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_0_0.svg') format('svg');
font-weight: normal;
font-style: normal;
font-family: 'Populaire Light'; src:
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_1_0.eot') format('embedded-opentype'),
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_1_0.woff') format('woff'),
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_1_0.ttf') format('truetype'),
url('http://kochab.uberspace.de/var/www/virtual/silvy/html/Populaire_kit_font/webfonts/30ABF3_1_0.svg') format('svg');
font-weight: normal;
font-style: normal; }
Unbounce picks up the fonts well, but the renderer shows the wrong font. Only in Preview or Published mode I can see the real font… The link to the webserver does not give me https, but just http, as you can see above. Could this be a reason?
Lastly, I don’t understand your last paragraph:
Then any text which you add the font to will now be rendered accordingly, example.
TextHope you can help me out. Thanks,
Thomas
PS: just noticed that all the above code has dissappeared from the Styler plug-in ??
Hey Thomas,
I think I know what is happening. After you press paste press enter to confirm what you have pasted.
I think that when pasting into Styler it doesn’t refresh/know that you have added anything yet until you start a new line of css.
This is why the code isn’t there when you exit.
As for the last paragraph that is just an extract of code from a text box using the source view, so I’m pretty much saying that you need to add the font in the code for any text you want it to apply to.
Thanks,
Gabe.
Hi Gabriel, really appreciate your help. Still trying to make it work though… I guess it is not so easy over the forum… the code stays inside the Styler CSS block. But still it does not show in my editor in unbounce. I dont use https but http, but suppose this does not matter. The code in the Stylesheet is copied. But I simply dont know why it does not work… any further things I should have done? Happy to give you access.
Hi Thomas,
I can definitely take a look, what is the best way for you to get in contact with me.
Thanks,
Gabe.
Great, please drop me a mail at thomas@silvy-health.com and then we can share links and more.
Thanks
Does anyone know if this workaround is still good before I try it?
I’m not very CSS savvy, so it’ll take me a while to figure it out.