-
-
Hi there,
i want to install a new font style. Unfortunately it’s not working.
I made everything like in this article: https://support.codeless.co/knowledge-base/how-to-add-a-custom-font-style/But later i receive this error message:
<span style=”color: #666666; font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px;”>Parse error: syntax error, unexpected ’’{ABeeZee”’ (T_ENCAPSED_AND_WHITESPACE) in /www/htdocs/w01465ba/klar-kultur-event.de/wp-content/themes/specular/admin/inc/fields/typography/googlefonts.php on line 1</span>What went wrong?
Thank you guys!
-
-
Hello,
What font are you trying to add? A custom one or a google font? If you send us your wp and ftp credentials in a private reply, we can help you add them.
Let us know.Best regards!
-
-
-
Hey there!
Just wondering if you received my message and if you can fix the problem!Best regards!
-
-
-
Hello,
Sorry for the late reply.
I can’t log in with the ftp, but i did add the necessary code into your style.css file. Please look for it at the end of the file, you will see the custom font css declared there.
To use this font now you only need to assign it with normal css code into your custom css box.
Example:nav .menu > li > a {font-family: "Delicious Bold" !important;}
but first, you need to upload the font files into your font folder(I couldn’t do it because of the ftp not connecting). Download the package we implemented here: https://jmp.sh/so0jrnG.
If you have any issue with it not displaying, just check out the font’s url in style.css code. Make sure for it to point to the right direction.
Let us know for anything.Best regards!
- This reply was modified 7 years, 10 months ago by Mirela.
-
Ok, thank you.
It works for the menu.
But i want to have the whole text and headlines in the delicious font.
Do you have a CSS Code for that? -
And also i want to have this font on the mobile Version.
When i look now, the menu on the mobile version is still in another font.Thank you very much!
-
Hello,
I added this line into your custom css box:
body p {font-family: Delicious Roman !important;}
it should convert every paragraph inside the body tag. While inserted inside the@media (max-width: 480px)
block, it edits the mobile font as well.
Please check your site now in both desktop and mobile. Let us know.Best regards!
-
Hey there,
great – that works!
Sorry that i have to ask again but i want to have every text, headline, button ec. with the delicious font.
Also the Service description, the text inside the Codeless-Slider, the text in the Call to Action Button, the name of the testimonial… i mean: everything should be in the delicious font.Is that possible?
Thank you very much!
-
Hello,
You can set this font for every element in the website just like i did before, by targeting their responsible css class. Find it via inspect element and add the code into your custom css box.
Read more about css in this site.
Sorry but this is a customization not included in support forum. This is all i can help you with.Best regards!
-
You must be logged in to reply to this topic.