Changing font in part of a post

  • Unknown's avatar

    @vinelifefaith: You would need to surround your text with p tags and add a special class to the tags, similar to before:

    <p class=”montserrat”>Example text.</p>

    You would then add custom CSS via the CSS panel of the WordPress.com Customizer, which would change and text surrounded with the p tags:

    .montserrat {
        font-family: "Montserrat",sans-serif;
    }

    Also you mentioned Georgia, Helvetica, etc. Do they also have to be used in the heading to be used in the content? Or are you saying they can be used regardless?

    They can be used regardless. :)

  • Unknown's avatar

    Oh my goodness, @siobhyb, it worked!!! Happy dance! Thank you for your help and thank God for small victories ;) Have a great day!

  • Unknown's avatar

    Yay! Thanks so much for sticking with me on that one, Vanessa. :)

    The two different fonts are working well together on your site!

    If you have any extra questions then please don’t hesitate to start a new thread.

  • The topic ‘Changing font in part of a post’ is closed to new replies.