Title: Use css in postings?
Last modified: August 19, 2016

---

# Use css in postings?

 *  [pr3view](https://wordpress.org/support/users/pr3view/)
 * (@pr3view)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/use-css-in-postings/)
 * Hi Guys,
 * I want to use a .css file inside a post on my blog. Is this possilbe?
    I tried
   to make a new post, i used the html editor in wordpress and tried to use a class
   of the existing .css file of my template. I tried to use a div tag to realize
   it. But when my post is released the div tag is missing.
 * So my question to all of you:
 * How can I use a .css file in a wordpress post?
 * Thanks for your help!
 * regards.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [t31os](https://wordpress.org/support/users/t31os/)
 * (@t31os)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/use-css-in-postings/#post-986631)
 * You can do it in posts…
 * Example….
    `<div class="myclass">My post text</div>`
 * Or inline styling in the post…
 * `<div style="background:#fff;color:#000">My post text</div>`
 * Works fine for me on 4 installs of WP 2.7.
 *  Thread Starter [pr3view](https://wordpress.org/support/users/pr3view/)
 * (@pr3view)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/use-css-in-postings/#post-986637)
 * thanks, now its working!
 * greetings!
 *  [csleh](https://wordpress.org/support/users/csleh/)
 * (@csleh)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/use-css-in-postings/#post-986888)
 * You might also be interested in this Art Direction plugin:
 * [http://wordpress.org/extend/plugins/art-direction/](http://wordpress.org/extend/plugins/art-direction/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Use css in postings?’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 3 replies
 * 3 participants
 * Last reply from: [csleh](https://wordpress.org/support/users/csleh/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/use-css-in-postings/#post-986888)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
