Forum Replies Created
-
AuthorPosts
-
Hi Rikard,
You can close the topic.
Best regards,
JulieOmg I did not see that I replaced a “0” with an “O” !!! I can’t believe I did not see this mistake !
Thank you so much for your help !!
Here are the links.
Thank you very much,
JulieIsmael,
I have tried your solution to replace the source by absolute urls. It didn’t work.
As I said in my first post, my code is correct, because it works with all the others fonts, except for the Helvetica Neue 45 Light.So, I repeat my question, do you think that the font files are the problem or is it WordPress ?
I downloaded the Helvetica Neue 45 Light on MyFonts, just like the Bodoni, so the files are the same but the Helvetica does not work.
Have you ever encountered such problem ?Best regards,
JulieHello,
Yes, I added the code in the style.css file. I don’t understand where I should put your code ? On top of the file ? At the bottom…?
My current style.css looks like this :
@import url("//hello.myfonts.net/count/354f7f"); /* Theme Name: Theme enfant Description: Theme enfant de Julie WPServeur Author: Julie - WPserveur Author URI: https://www.wpserveur.net Template: enfold Version: 0.1.0 */ @font-face { font-family: 'BauerBod-Reg'; src: url('fonts/354F7F_B_0.eot'); src: url('fonts/354F7F_B_0.eot?#iefix') format('embedded-opentype'), url('fonts/354F7F_B_0.woff2') format('woff2'), url('fonts/354F7F_B_0.woff') format('woff'), url('fonts/354F7F_B_0.ttf') format('truetype'), url('fonts/BauerBod-Reg.svg#svgBauerBod-Reg') format('svg'); } @font-face { font-family: 'BauerBodD-DemBol'; src: url('fonts/354F7F_5_0.eot'); src: url('fonts/354F7F_5_0.eot?#iefix') format('embedded-opentype'), url('fonts/354F7F_5_0.woff2') format('woff2'), url('fonts/354F7F_5_0.woff') format('woff'), url('fonts/354F7F_5_0.ttf') format('truetype'), url('fonts/BauerBod-Reg.svg#svgBauerBodD-DemBol') format('svg'); } @font-face { font-family: 'HelveticaNeueLTStd-Lt'; src:url('fonts/354F7F_F_O.eot'); src:url('fonts/354F7F_F_O.eot?#iefix') format('embedded-opentype'), url('fonts/354F7F_F_O.woff2') format('woff2'), url('fonts/354F7F_F_O.woff') format('woff'), url('fonts/354F7F_F_O.ttf') format('truetype'), url('fonts/354f7f_f_O.otf') format('otf'), url('fonts/HelveticaNeueLTStd-Lt.svg#svgHelveticaNeueLTStd-Lt') format('svg'); } h3, h4, h5 { font-family: 'BauerBod-Reg', Arial, sans-serif !important; } h1, h2, h6 { font-family: 'BauerBodD-DemBol', Arial, sans-serif !important; } p, span, body { font-family: 'HelveticaNeueLTStd-Lt', Helvetica, sans-serif !important; }
Where do I have to put the absolute urls like the one you gave me ?
Thank you in advance,
JulieHey Rickard,
The font is supposed to be Helvetica Neue 45 Light, not Helvetica. :)
Best regards
-
AuthorPosts