Title: Changing CSS headers
Last modified: August 21, 2016

---

# Changing CSS headers

 *  [Beth](https://wordpress.org/support/users/pedalkraft/)
 * (@pedalkraft)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-css-headers/)
 * I know this should be simple, but I can’t seem to change the colour of the h2
   and h3 text on my site. It’s not live so I can’t share a link, but it’s fairly
   generic, I would just like to change the headers to purple rather than black.
   It;s a straightforward thing I’ve done plenty of times before, but it’s just 
   not coming through!
 * I’ve tried this in the CSS file and also pasted it into the Custom CSS box in
   the Theme Options: (#600b75 is the purple).
 * h2, h3, {
    color: #600b75; margin-bottom: 18px; }
 * h1, h4, h5, h6 {
    color: #000; margin-bottom: 18px; }
 * h1 { font-weight: normal; font-size: 26px; line-height: 36px; }
    h2 { font-weight:
   normal; font-size: 20px; line-height: 30px; color: #600b75; } h3 { font-weight:
   normal; font-size: 16px; line-height: 24px; color: #600b75; } h4 { font-weight:
   normal; font-size: 12px; line-height: 18px; }
 * …any suggestions gratefully received!
 * Thanks 🙂
 * Beth

Viewing 1 replies (of 1 total)

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/changing-css-headers/#post-4096648)
 * Inspect the element and see what HTML structure it is in and what class associates
   with it.
 * Suppose you have this in the HTML
 *     ```
       <header>
       	<h1 class="entry-title"><a href="">Hello world</a></h1>
       </header>
       ```
   
 * and this already in the CSS
 *     ```
       a { color: red; }
       ```
   
 * when you add this after it, it wouldn’t work
 *     ```
       h1 { color: black; }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Changing CSS headers’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/discover/1.7.33/screenshot.png)
 * discover
 * [Support Threads](https://wordpress.org/support/theme/discover/)
 * [Active Topics](https://wordpress.org/support/theme/discover/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/discover/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/discover/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/changing-css-headers/#post-4096648)
 * Status: not resolved