Title: CSS Newbie
Last modified: August 18, 2016

---

# CSS Newbie

 *  [graygeek](https://wordpress.org/support/users/graygeek/)
 * (@graygeek)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/css-newbie/)
 * I think I know the answer but I wanted to make sure before I go to areas that
   I have little experience in.
 * I want to change colors of some sentences in specific posts. For example in my
   last post on:
    [http://www.digitalcollege.org/wordpress](http://www.digitalcollege.org/wordpress)
 * I want to change the sentence of “slower computers…
    to another color to highlight
   the difference .
 * Suggestions?
 * Tnx

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

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/css-newbie/#post-124688)
 * My suggestion is to define a couple of classes in your CSS and then apply them
   via a `<span>`.
 * Example, in your CSS you could do this:
 * `.color-01 {
    color: #f00; }
 * `.color-02 {
    color: #0f0; }
 * Then in your post, wrap the text like this:
 * This is some text that should be `<span class="color-01">`the color RED`</span
   >` and here is some text that should be `<span class="color-02">`the color GREEN`
   </span>`.
 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/css-newbie/#post-124689)
 * Just edit the post and change slower computers into
 * `
    <span class="highlight>slower computers</span>
 * Then in your css file put this in
 * `
    .highlight { background-color: #FFFF00;}
 * and change FFFF00 to the colour you want.
 * Edited:
 * Hehe, you beat me to it nuclearmoose, but if you want to change the font color
   use color:……….., if you want highlighting use background-color: …………

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

The topic ‘CSS Newbie’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [basketball](https://wordpress.org/support/users/basketball/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/css-newbie/#post-124689)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
