Take the tour ×

I'm using the standard Wordpress theme (WordPress Default 1.6 by Michael Heilemann).

The standard font for my articles is a sans-serif font.

I'd like to display, for a sentence only, a serif font (Times for instance).

I didn't find a way to do this. Is it possible ?

share|improve this question
add comment

closed as off topic by Chris_O, t31os, kaiser, Brady Mar 2 '12 at 9:29


2 Answers

up vote 1 down vote accepted

This is not really a WordPress question but I'll answer it anyway. The first thing you need to know is CSS is your friend. You'll want to do something like this:

In style.css
.serif-class {font-family: "Times", "Times New Roman", serif;}

Then using the html view inside of your post:
<span class="serif-class"> This is an important sentence </span>

See more on Span Here

share|improve this answer
add comment

Alternatively - if you will use it just one time - you could take the following code within the edit post window:

<span class="serif-class" style="font-family: "Times", "Times New Roman", serif;">a sentence only</span>
share|improve this answer
add comment
