Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi there,
I have recently updated my Vantage theme to premium and when I did this my customized font was changed. I cannot figure out how to change my header font to a customized font. I have tried many codes(that I used and worked when I was using the free version) that I found on these forums although nothing seems to be working.
Any help would be greatly appreciated!
Thanks so much!!
Hi Global Shades
Could you please answer a few questions which will allow us to assist you better.
1. What custom font were you using.
2. was it a web font.
3. if so what folder did you upload your font files to.
Thanks
Magus
Hi I am using a font called “eurostar regular extended”. It is a custom web font and I am uploading it to CPanel in my public_html folder.
Hi Global Shades
That should be fine. Depending on the font there should be several files. Could you please list these files for me here as each one needs to be added for different compatibility.
thanks
Magus
Here is the list of the files:
euroregularextended-webfont.eot
euroregularextended-webfont.svg
euroregularextended-webfont.ttf
euroregularextended-webfont.woff
euroregularextended-webfont.woff2
Hi Global Shades
Please move the files into a folder called ‘fonts’ (lowercase) and ensure that the folder has permissions of 755.
Then try adding the following to Appearance->Custom CSS
If you want all your text to be in this font you will also need to add the following
If after this the font does not still appear please add the following to your .htaccess file
Let us know how you get on
Magus
Hi there,
I am trying it right now and I am trying to edit my header (the name of our company) although this is not working. I do not know if this is because I do not have the correct name for the header when I type it into my CSS although I have tried many different names for it.
Currently I have
/* Site Title Font */
header#masthead h1 {font-family: ‘Euro-Regular-Extended’ !important;}
This is what I used last time before I upgraded to premium and it worked.
I have made a new file in my public_html in my cpanel called fonts and added the first CSS you provided.
Should I try adding the last code you provided and if so where?
Thank you so much!
Give this a try:
Hi Andrew,
no that did not work either :( thank you though!!
Hi Global Shades
If you have successfully moved the font files into the new font folder, and if the folder has permissions set to 755 then all should be working unless the host has limited the file-types accessible to the PHP/CSS scripts.
This is not unheard of, if the files are in the right place and the CSS has been added then you will need to add the last section of code I provided to your .htaccess file in public_html.
We had the same issue with a customer on Hostgator last week.
Let us know how you get on
Magus
This is very weird. I added that last CSS and I put the code in that Andrew provided and made sure that the font folder has all permissions set.
I am not too sure what is happening. I may call GoDaddy and see if there is anything that is restricting me from changing the CSS.
Ok So i do not think that it is the hosting site “GoDaddy” because I was using GoDaddy even before I update the Vantage theme to the premium version.
I have a “fonts” folder made in my cpanel in the public_html folder and I added the CSS to the .htaccess file
When I add the: /*Vantage Site Title*/ code it changes the font from a calibri type font to a more times new roman but not the correct font. And the font takes longer to show up.
I am not too sure what to do at this point. Is there anything else you could think of?
Thank you so much for all of the help!
Hi Global Shades
You should not have added any CSS to the .htaccess file. Were you meaning this code
When inspecting the page I am getting an error that the file does not exist for
Please post the contents of the .htaccess file in a private reply and if possible a screenshot of the expanded fonts folder from your cpanel.
Thanks
Magus
This is a private message.
Hi Global Shades
The .htaccess looks fine and with the file not found error it seems it may be a permissions issue.
I cannot see a screenshot, if you linked to one. If you did have one please upload it to your sites media library and link it through the website.
Thanks
Magus
This is a private message.
This is a private message.
Hi Global Shades
Everything looks good with the contents and the files are accessible. I checked the provided style sheet and it is identical to the CSS we provided excluding the path to the files. What I was hoping to see from the screenshot were the file permissions for the font files and the permissions for the fonts folder itself. Would it be possible to provide shots of those parts of the screen for the files and folder.
From the behaviour so far it is definitely looking like a file/folder permissions issue.
Magus
This is a private message.
Hi Global Shades
Permission 644 is correct for the fonts themselves, what about the fonts folder
Magus
This is a private message.
Hi Global Shades
It shouldn’t make any difference but please try changing the original CSS to this
This is an exact copy of the font squirrel provided one which I have altered to use the fonts folder via relative links rather than absolute. You will need to alter the name of the font in the CSS you entered to target the title.
Magus
Hi Magnus,
Ok should I include the website name before the “/fonts”?
Thank you
Hi Magnus,
This did not work either…
Thank you for the CSS though!
Hi Global Shades
I see you have moved the fonts into the theme folder, I have tested and if you add this to your custom CSS you should see the correct result.
It does look like it was a permissions issue, although it should have worked from the fonts folder in the site root. Still, it is good to know that in cases like this there is a viable solution.
Magus
THANK YOU SOOO MUCH!!!!!! It finally worked!!!
Thank you for all of your help I really appreciate it!!