Tell me more ×
WordPress Answers 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 Answers are expected to relate to WordPress within the scope defined in the FAQ. 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 closed questions here.

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

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

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