[Resolved] fonts and child theme

Home Forums Support [Resolved] fonts and child theme

Home Forums Support fonts and child theme

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #840158
    Farokh

    Hi

    I installed both Simple CSS and Code Snippets in order to get rid of my child theme.

    But then I realized I have custom fonts uploaded to my child theme folder.

    1. Is there any other place to upload my fonts to, other than the child theme folder? So I can delete the child theme.

    2. If no, where do you suggest to put the font-related css? In the child theme stylesheet, or in Simple CSS editor? Which is best practice?

    Best

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #840236
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can just create a folder on your server if you have access via FTP or file manager.

    For example, you could create a fonts folder in the root of your site (the area with the wp-admin, wp-content and wp-includes folders).

    Then, you can link to that folder using your CSS: yoursite.com/fonts/my-font.svg

    Let me know if that makes sense or not πŸ™‚

    #841202
    Farokh

    THANK YOU πŸ™‚
    Great

    #841464
    Tom
    Lead Developer
    Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.