Jump to content

Change font prestashop 1.6


7y7

Recommended Posts

Hello good evening, I would change the typography of my tent, with the letter "Vivaldi", I'm using prestashop 1.6 

 

My problem is that I do not know what code to use, or where I have to put it. 

 

I hope someone can help me. 

 

A greeting.

Link to comment
Share on other sites

Hi, sorry, I meant in my online store, I confused to write. 

 

I do not know how I can do to put this type of source texts throughout my online store. 

 

The source would be "Vivaldi" 

 

A greeting.

Link to comment
Share on other sites

Hello statictic in header.tpl line 52 of this line there 

 

<link rel = "stylesheet" href = "http :: Tools usingSecureMode {if ()} s {/ if} :/ / fonts.googleapis.com / css family = Open + Sans: 300,600" type = "text / css "media =" all "/> 

 

only I have to change the "Open + Sans" by Vivaldi and I would that letter?

Link to comment
Share on other sites

  • 3 months later...

Hi, Vivaldi isn't on Google font unfortunately.

 

Also, best practice would be to defer the loading of your font, ie with async javascript method :

 

Replace :

<link rel = "stylesheet" href = "http :: Tools usingSecureMode {if ()} s {/ if} :/ / fonts.googleapis.com / css family = Open + Sans: 300,600" type = "text / css "media =" all "/> 

With :

Prestashop forum doesn't allow <script> tag so visit the link below and look for paragraph 3. Add this code to your website:  (tab javascript)
https://www.google.com/fonts#QuickUsePlace:quickUse/Family:Arizonia

ps : It's a similar font to Vivaldi and you can play in CSS to adjust it to have a different look :

 

h1 {

letter-spacing:10px;

}

 

etc...

Edited by SHIROKO (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...