Title: CSS in post
Last modified: August 18, 2016

---

# CSS in post

 *  [owned1up](https://wordpress.org/support/users/owned1up/)
 * (@owned1up)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/css-in-post/)
 * Where do I put my own CSS to use in my posts? When I go to theme editor and add
   it to the stylesheet, it seems to ignore it when I try to use it by manually 
   typing class=””, etc whereever I want to use it. Thanks

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

 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/css-in-post/#post-226554)
 * In order to use a css declaration in your html, you’ll have to use inline styles–
   you can’t just insert the css “bare” as it were.
 * Here’s an example from [http://webdesign.about.com/od/css101classes/a/bl_cssclass2_1a.htm](http://webdesign.about.com/od/css101classes/a/bl_cssclass2_1a.htm):
 * `<p style="background-color : #cccccc; border : none;">
    If you put this in your
   page, this paragraph will have an inline style to change the background color
   to grey. </p>
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/css-in-post/#post-226563)
 * vkaryl is right in how to use styles “inline” in your posts. But you can’t do
   this for every post.
 * Check to make sure you are changing the RIGHT style sheet. Check the name of 
   the WordPress Theme you are using and make sure that it matches the name of the
   folder in which the `style.css` file you are editing is located.
 * When you say that you add it to the style sheet it seems to ignore it, you can’t
   just “add” styles to the style sheet. For instance, if you already have a style
   set for, say, paragraphs, and you add another style for paragraphs, then which
   one is it going to pay attention to?
 * There is a helpful article on the Codex, the online manual for WordPress, that
   will help you [find the styles within your stylesheet](http://codex.wordpress.org/Finding_Your_CSS_Styles)
   so you can change THAT style specifically.
 * And if it “ignores you” then what does that mean? That you can’t [edit the style sheet](http://codex.wordpress.org/changing_file_permissions)
   or that you [don’t see the changes on the screen](http://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens)?
 * If you are more specific with how you want to change things and what you want
   to change, then we can be more specific.

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

The topic ‘CSS in post’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [Lorelle](https://wordpress.org/support/users/lorelle/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/css-in-post/#post-226563)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
