Uploading Font to Helix not working - Forum | JoomShaper
Awaiting an answer Helix Framework

Uploading Font to Helix not working

Asked by Marco 3 years ago Last activity 3 years ago

Hello to all i have a issue with uploading a non google Font, this is what i did:
Name of the font is rastanty cortez
First of all i Downloadet a Font Tranformed that to a woff & woff2 file.
Second i uploadet the file to the helix font folder "/fonts/rastanty_cortez-webfont.woff" in template "shaper_helixultimate".
Third i created a custom.css file and add the following code here /templates/shaper_helixultimate/css/custom.css" in template "shaper_helixultimate".

This is the custom.css content

@font-face {
font-family: 'rastanty_cortezregular';

src: url('../fonts/rastanty_cortez-webfont.woff2') format('woff2'),

        url('../fonts/rastanty_cortez-webfont.woff') format('woff');

font-weight: normal;

font-style: normal;

}

Can somebody see my error ?
I cleard joomla and browser cache but i can not find the font in the sppage builder framework and use it ..

For every advise iam very thankful in advance

Your Fan Marco

2 replies

Paul Frankowski Senior Staff
3 years ago · edited

Hi Marco,

I wish you watch & read our tutorials about using Custom Fonts in Helix documenation, you will save time & stress. https://www.joomshaper.com/documentation/helix-framework/helixultimate/faq-how-to-do


In your case probably you forgot to choose for what class or HTML tag that new font must be used.
For example

body, h1, h2, h3, p, li {font-family: 'rastanty_cortezregular'; }

Watch:
https://www.youtube.com/watch?v=MfAIT8cMuv4

Marco Asked this

thank you very much it worked fine !

Log in to reply.