How to change fonts

  • Author
    Posts
  • #3362531

    edvalotan
    Member

    Hi,
    TL;DR – how do I change the theme’s fonts to use another Google font, using the costume CSS feature?

    My site is in Hebrew and almost none of the fonts in the custom fonts list can support it (and look reasonable). So I wanted to use a free Google font that looks good and registered to the premium plan to use the costume CSS feature.

    I wrote this in the CSS code box:

    <style>
    @import url('https://fonts.googleapis.com/css?family=Assistant&display=swap');
    </style>
    
    font-family: 'Assistant', sans-serif;

    but this had no effect on the blog, and after a couple of minutes I tried to edit the CSS again and found it was GONE – all the changes I made were erased and I found the welcome remarks again.

    Please help, I guess I’m missing something basic here.

    The blog I need help with is edvalotan.net.

    #3362674

    kokkieh
    Staff

    Hi there,

    It is not possible to import your own fonts on a WordPress.com site. Using the @import function is only possible on our Business Plan. See:

    https://en.support.wordpress.com/custom-design/custom-css/#frequently-asked-questions-8b6ab820-bb95-47c1-bce4-7ac2c7de6600

    The only fonts that can be used on WordPress.com are the selection of free Google fonts in the Fonts panel in the Customizer, and if you upgrade to the Premium Plan a selection of Typekit fonts are also added to that list of available fonts:

    https://en.support.wordpress.com/custom-fonts/

You must be logged in to reply to this topic.