Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

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

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.