Hello
I would like to know how I can add a costum font to my theme.
I have added my otf-file a webfont generator and I now have 2 woff-files and 1 css-file.
What to do with these?
Thanks in advance.
Hello @design_concern ,
Please have a look on below link I think it would help you: https://www.simicart.com/blog/magento-2-custom-fonts/
If still you face any issue, please let me know.
If it helps you, please accept it as solution and give kudos.
Regards.
Hello @design_concern
I think, you are using magento 1.x version, please refer the following link.
https://inchoo.net/magento/custom-typography-in-magento-cufon/
Hello Binod
Thanks for the answer. That's correct, I'm using Magento 1.9
Looks like the genrator at http://cufon.shoqolate.com/generate/ is no longer active. Is the're a simular solution. Seems straightforward.
Adding a custom font to your theme can be a great way to personalize your website's design. To do this, you'll need to follow these steps
Upload Your Font Files
Link the CSS File
Adding a custom font to your theme involves a few steps: Upload the Font Files: You've generated the necessary font files (woff-files). Upload these font files to your web server or hosting service. Include the CSS: Link the CSS file in your theme's HTML or directly in your website's code. Use the tag in thesection of your HTML file to reference the CSS file you generated. It should look something like this: html Copy code Apply the Font: In your CSS or within your theme settings, specify the custom font for the elements you want to style. For example, to set the font for all paragraphs: css Copy code p { font-family: 'YourCustomFont', sans-serif; } Make sure to replace 'YourCustomFont' with the actual font name specified in your costume-font.css file.