sickshot Posted February 18, 2014 Share Posted February 18, 2014 (edited) Hello, does anyone tried to add custom fonts using fontssquirrel generator? http://www.fontsquirrel.com/tools/webfont-generator it would be very useful if anyone could provide any info/guide on implementing those fonts in prestashop. I have currently installed PS 1.4.9 and trying to handle this, but yet no success. TIA Edited February 18, 2014 by sickshot (see edit history) Link to comment Share on other sites More sharing options...
sickshot Posted February 18, 2014 Author Share Posted February 18, 2014 (edited) OK i solved this. i'll try to explain step by step: 1. go to http://www.fontsquirrel.com/tools/webfont-generator or any other similar generator. 2. upload your desired font and generate webfont. 3. download & unzip. 4. upload this folder to your theme folder 5. add following code to global.css @font-face { font-family: 'YOURFONT'; src: url('YOURFONT.eot'); src: url('YOURFONT.eot') format('embedded-opentype'), url('YOURFONT.woff') format('woff'), url('YOURFONT.ttf') format('truetype'), url('YOURFONT.svg#YOURFONT') format('svg'); } you'll find your own css code in your folder. 6. add font-family: YOURFONT, Arial, Helvetica, Sans-Serif ; anywhere where you want your custom font to appear. thats it. good luck Edited February 19, 2014 by sickshot (see edit history) 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now