-
AuthorPosts
-
April 1, 2020 at 5:22 pm #1199811
Hey,
thanks for the cool theme.
I would like to install an new font “Calluna sans” this is no Google-font, but it isn’t work.In the meantime I have informed in the forum and tried different ways to install the font, unfortunately in vain.
But now the header is also shown smaller than I specified in the backend. The specification in the backend is 2100px width – the header is only shown with 870px width.Can someone please help me install the font and how can I get the header back to its full width.
Thank you and stay healthy
BirgitApril 2, 2020 at 9:50 am #1200051Hey Birgit,
You had a missing bracket in Quick CSS:
.av-masonry-sort { text-align: center;
I fixed that and your theme settings are now applying again. If you need help with the font then please try to explain that problem a bit further.
Best regards,
RikardApril 3, 2020 at 9:44 am #1200427Hey Rikard,
thanks a lot for your help – I totally overlooked the missing bracket.
But I need some help with the font-loading. I uploaded the Webfont-Kit and then I make a ZIP of the .woff.
Then I load this ZIP-file to the import/export manager for fonts. after uploading another font appears.
The name of the ZIP folder I uploaded is: 35BF31_0_0.ttf.zipThe font manager window has the following name: Font: MACOSX (font-family: macosx)
normal: 400However, the ZIP file: 35BF31_0_0.ttf.zip has been uploaded to the media library, I can see it.
I hope my explanation is understandable and I am very happy about help.
Best regards,
BirgitApril 8, 2020 at 9:56 am #1201845Hey Rikard,
I can’t solve the problem with the Adobe-Font
I copied the Code
<link rel=”stylesheet” href=”https://use.typekit.net/eqr6ktf.css”>
in the head-tag in the <head> of the header.php of the enfold-theme.
Then I copied the following in the CSS of the enfold-childtheme:
font-family: calluna-sans, sans-serif;
font-weight: 400;
font-style: normal;font-family: calluna-sans, sans-serif;
font-weight: 700;
font-style: normal;h1, h2, h3, h4 {
font-family: ‘calluna-sans’, sans-serif;
font-weight: 400;
font-style: normal;
}But the font ‘Calluna sans’ isn´t activatete on my side – please can you help me to find the error?
Thank you and best regards,
BirgitApril 13, 2020 at 1:58 pm #1203284Hi Birgit,
I’m very sorry for the late reply. First off, this CSS won’t do anything, so I removed it from your style.css in the child theme:
font-family: calluna-sans, sans-serif; font-weight: 400; font-style: normal; font-family: calluna-sans, sans-serif; font-weight: 700; font-style: normal;
I’m seeing this error message when trying to edit the parent theme:
Dieses Theme ist fehlerhaft. Das Theme definiert sich selbst als sein Eltern-Theme. Bitte prüfe den Template-Header.
It looks like there is a problem with it, did you edit anything? If so then something has gone wrong. Could you try to delete the theme via FTP, then upload it again as usual please?
If you need to add the CSS file which you referenced then we can help you out with a function which you can place in functions.php in your child theme.
Best regards,
RikardApril 14, 2020 at 10:22 am #1203508Hi Rikard,
thank you for your help, I deleted the theme and uploaded the latest version of Enfold using FTP.I am happy to come back to your help:
“If you need to add the CSS file which you referenced then we can help you out with a function which you can place in functions.php in your child theme.”
Can you please help me to place the font Calluna now, that would be great.
Best regards,
BirgitApril 16, 2020 at 6:20 am #1204258Hi Birgit,
Thanks for the update. So the code in private would enable you to use the font in question? If so then please try to use this function in your child theme functions.php file:
function birgit_add_typekit_code(){ ?> YOUR CODE GOES HERE <?php } add_action('wp_head', 'birgit_add_typekit_code');
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.