Title: Customize Post Title
Last modified: August 19, 2016

---

# Customize Post Title

 *  [thebrokengroup](https://wordpress.org/support/users/thebrokengroup/)
 * (@thebrokengroup)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/customize-post-title/)
 * Is there a way to customize the post title so that it has an underline that goes
   the full width accross. I think i just need to put the post title in it’s own
   div and give it a bottom border, but not sure where I would do that.
 * Right now the post title in an h2 tag

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

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/customize-post-title/#post-1319061)
 * can’t be specific without a link to your site…but how I did it on my theme (cuz
   I wanted to have a little shadow on the line, just a bit fancier than standard
   css) was to see how wide the content area was in my css, then draw a line a bit
   shorter than that (in GIMP, or photoshop or whatev)
 * then under the line of code that calls the title (in index.php) add:
    `<div class
   ="lineBreak"></div>`
 * and in css
 *     ```
       .lineBreak {
       background:url(images/line.gif) no-repeat;
       }
       ```
   
 * there’s a few ways to go about it, this is just the way that worked for me.
 * you could just wrap the title in a div too, with the bottom border, depends on
   exactly what you want it to look like.
 *  [chefsherry](https://wordpress.org/support/users/chefsherry/)
 * (@chefsherry)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/customize-post-title/#post-1319437)
 * Hi,
 * I am trying to underline my post titles so people know they are actually links.
   For example, Guest Commentary is my latest post and I would like it underlined.
 * My site is: [http://www.delicioushealthyfood.com](http://delicioushealthyfood.com/)
 * Do I have to make a line graphic or could I just add a code like: <I></I>
 * Would one of the codes you listed above work for me? If so, where do I put it
   so each new post title shows the underline?
 * Thanks so much,
 * Sherry
 *  [henkholland](https://wordpress.org/support/users/henkholland/)
 * (@henkholland)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/customize-post-title/#post-1319438)
 * Sherry,
    In your style.css change this:
 *     ```
       .title a {
       color:#663300;
       text-decoration:none;
       }
       ```
   
 * to this:
 *     ```
       .title a {
       color:#663300;
       text-decoration:underline;
       }
       ```
   
 *  [chefsherry](https://wordpress.org/support/users/chefsherry/)
 * (@chefsherry)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/customize-post-title/#post-1319439)
 * Thanks! I did that and it worked.
 * Sherry

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

The topic ‘Customize Post Title’ is closed to new replies.

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [chefsherry](https://wordpress.org/support/users/chefsherry/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/customize-post-title/#post-1319439)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
