Is it possible to change the font of the text from within a block?

I have some text that I would like to put in the body portion of a new page, but i would like three different styles represented in this content..

I have tried to change the font with div layers and other general HTML formating but it has no effect.

How can I do this?

Thanks
Brett

Comments

kasparsd’s picture

First find the class name of that block (use view source), which is usually something like block-block-23.

Then use CSS file for your theme (under /themes/yourtheme/style.css) and set the style you want.

For example:
.block-block-23 { color: #999; font: 0.8em times, serif; }
or target p tag directly:
.block-block-23 p { font: 0.8em times, serif; }

Genaral CSS style for sections of text

In the content body you write:

<p class="important">Some important text here</p>

or (for section of paragraphs):

<div class="important">
<p>Some important text here</p>
<p>Other important paragraph</p>
</div>