Using two different fonts within one blogpost
-
Hi,
I’d like to know if it’s possible to use two different fonts within the same post and how I can change the second part of the post to the second font.
Many thanks!
The blog I need help with is: (visible only to logged in users)
-
You can definitely do this.
The first thing you’ll need to do is declare a class in your CSS that’s using the second font. For example, it could be something like this:
.different-text {
font-family: “Times New Roman”;
}(Of course, you can use a different font, instead of this example.)
Then when you write your blog post, make sure you switch to the HTML editor (or TEXT if you’re using the classic editor), and add this classname to your paragraph. Something like this:
<p class="different-text"> This text is written with a different font. </p> -
Thanks very much! As it happens I received a little telephone help from my sister in the meantime who suggested using <p style=”text-align: justify; font-family: Covered By Your Grace;”> in HTML (Covered By Your Grace being the name of the font) before the text I wanted to change and that worked, too. I will also look at your suggestion for the next post. Many thanks once again!
-
@thatthornguy, unless your font, Covered By Your Grace, is installed on each and every visitor’s computer who comes to your site, they will not see that font. You will because it is installed on your computer. For those without that font installed, they will get the default theme font or they will get the standard serif or sans-serif font built into the browsers.
Here is a link to the fonts common to Mac and Windows.
We cannot upload or use fonts from outside sources here at WordPress.com We are limited to the ones show at Customize > Fonts.
-
-
- The topic ‘Using two different fonts within one blogpost’ is closed to new replies.