Tagged: change default font
-
AuthorPosts
-
October 3, 2018 at 12:35 pm #1017507
Hello,
I’m trying to change the default font to Crimson-Roman. I added the following to functions.php, but it doesn’t work. Please help.add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Crimson-Roman’] = ‘Crimson-Roman:400,700’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Crimson-Roman’] = ‘Crimson-Roman:400,700’;
return $fonts;
}October 4, 2018 at 6:04 am #1017692Hey Susanne,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardOctober 4, 2018 at 11:16 am #1017823Hi Rikard, Please find login credentials below.
Thank you!October 5, 2018 at 5:00 am #1018110Hi Susanne,
Thanks for that, does your website have a URL as well? :-)
Best regards,
RikardOctober 5, 2018 at 11:12 am #1018242Sorry Rikard, stupid me. Please see below. It’s in maintenance mode.
October 6, 2018 at 5:49 am #1018393Hi,
Thanks for the that, I see that your site is not using that font. But it looks like that font is not available at Google Fonts? https://fonts.google.com/?query=crimson
Best regards,
RikardOctober 6, 2018 at 11:13 am #1018472Rikard,
But your link shows that the font IS available on google fonts? See here: https://fonts.google.com/specimen/Crimson+Text
I’ve now changed it to Crimson Text in functions, but it still doesn’t work.
What’s going wrong?
Thanks for your help.October 6, 2018 at 5:36 pm #1018535Actually, no other font works – whatever I change it to on the Enfold Font choices. Any idea why not? It always shows the default font.
October 7, 2018 at 5:51 am #1018596Hi,
Yes, Crimson Text, but you are importing Crimson Roman. Could you try changing the name in your code? I see that you have selected Georgia now, and that is displaying fine on my end.
Best regards,
RikardOctober 7, 2018 at 10:39 am #1018633Rikard,
I have changed the code to Crimson Roman, and now it’s back to just the default Enfold font (Helvetiva???) – please see.
Can you try to change the font to Crimson Roman please? I would be so grateful!October 7, 2018 at 9:27 pm #1018704Hi there,
I’ve now found a solution by installing the plugin “Easy google fonts”. A bit complicated, but it does the job.
Thanks!October 8, 2018 at 7:25 am #1018809Hi,
Great, glad you found a solution and thanks for sharing. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardOctober 8, 2018 at 9:41 am #1018875Hi Rikard,
Yes, please close the topic.
Thank you!October 8, 2018 at 3:54 pm #1019023 -
AuthorPosts
- The topic ‘change default font’ is closed to new replies.