This topic has 6 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Jack Richardson
I would like to add a new font type to be applied to all the web site pages.
The font type is Lorem Ipsum
Please advise on how to do this, thank you
Hello,
In this case you should use @font-face
rule.
Please read more here:
https://css-tricks.com/snippets/css/using-font-face/
Regards,
Robert Hall
I am trying to implement @font-face on my site. Have added the following code to the global CSS
@font-face {
font-family: Lorem Ipsum;
src: url(‘http://blagochestie.com/clickandbuilds/RussianOrthodoxBookstore2013/wp-content/themes/woopress/fonts/Loremipsum.ttf’);
font-weight: normal; }
p { font-family: “Lorem Ipsum” } I thought this would change the font for all instances when the paragraph header was selected
The last statement p {font-family: “Lorem Ipsum” } has no effect. I tried with other fonts with no change. Please advise how to change the font family of the paragraph header and the main body, thank you
Hello,
As you can see you got an error in console log http://prntscr.com/ajq3re
This means that you have not uploaded the font file to the right directory. Please move this file to /wp-content/themes/woopress/fonts/ folder and check the issue.
Also please provide us with FTP credentials in Private Content.
Regards,
Robert Hall
I managed to fix the issue, thanks
Hello,
Glad to hear it.
Have a nice day.
Best regards,
Jack Richardson.
The issue related to '‘Add new font type’' has been successfully resolved, and the topic is now closed for further responses