• I changed the overall fonts from the Typography page under Settings, where it seems I can only pick two fonts.

    Now I want to use a third font: is there also a way to change a specific paragraph using another font different from the ones used in the general settings?

    • This topic was modified 1 year, 8 months ago by LightCatcher.
    • This topic was modified 1 year, 8 months ago by LightCatcher.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phi Phan

    (@mr2p)

    Thank you for your feedback @pdesopo

    This plugin currently does not support loading a third font family. However, you can easily load a Google font by using the @import rule. For example, you can use this code to load the Roboto font family with 3 weights 300, 300i, 400, 400i, 700, 700i:

    @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
    
    .font-roboto { font-family: "Roboto", sans-serif; }

    To load other fonts, please go to Google Fonts and choose your fonts.

    You can add this CSS snippet to your WordPress site in two simple ways. You can use the Additional CSS setting in the old classic customizer, which is free and easy. Or if you are a Pro customer, you can use the Custom CSS setting. Then you can apply that CSS class to any blocks that you want to show text in that font.

    Thanks, Phi.

    • This reply was modified 1 year, 8 months ago by Phi Phan.
    Thread Starter LightCatcher

    (@pdesopo)

    Thanks for the detailed answer, @mr2p

    I did use the import url CSS other times, but thanks for the thorough information. I just wanted to make sure I wasn’t missing some hidden option in the plugin that would allow me to get the same result.

    Keep up the good work.

    Best,
    Piero

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change a specific paragraph font?’ is closed to new replies.