How can I install a custum WebFont which is not a google or tipekit font?
In which folder should I ftp-upload the font folder and how do I link to the font so that it works in the theme and MD slider.
The structure of the font I purchased is as follows: ( [ ] = Folder )
- [WEBFONT DIN]
-- [DINOT-Regular]
--- styles.css
--- DINOT-Regular.woff
--- DINOT-Regular.ttf
--- DINOT-Regular.svg
--- DINOT-Regular.otf
--- DINOT-Regular.eot
-- [DINOT-Medium]
--- styles.css
--- DINOT-Medium.woff
--- DINOT-Medium.ttf
--- DINOT-Medium.svg
--- DINOT-Medium.otf
--- DINOT-Medium.eot
and so on ...
Link to font:
https://www.fontshop.com/tryout/templates/blog?referer=/families/ff-din
Hi,
Please go to sites/all/themes/md_mdst/inc/front/template.preprocess.inc, around line 150, please add the following code:
drupal_add_css($themepath . '/{link-to-folder-fonts}/{css-file-name}.css');