Add new font type - by smariano - on WordPress WooCommerce support

This topic has 6 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Jack Richardson

  • Avatar: smariano
    smariano
    Participant
    March 23, 2016 at 22:09

    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

    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 23, 2016 at 22:36

    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

    Avatar: smariano
    smariano
    Participant
    March 25, 2016 at 02:11

    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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 25, 2016 at 08:32

    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

    Avatar: smariano
    smariano
    Participant
    March 25, 2016 at 14:18

    I managed to fix the issue, thanks

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 25, 2016 at 15:30

    Hello,

    Glad to hear it.

    Have a nice day.

    Best regards,
    Jack Richardson.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Add new font type’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.