Title: Caption type not itallic
Last modified: November 24, 2016

---

# Caption type not itallic

 *  Resolved [drdesidran](https://wordpress.org/support/users/drdesidran/)
 * (@drdesidran)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-type-not-itallic/)
 * I can’t italicize the text in my captions. I had it before and now it’s disappeared.
   Here’s the code:
 *     ```
       .wp-caption .wp-caption-text,
       .gallery-caption,
       .entry-caption {
       border-top: 1px solid #080808;
       border-bottom: 1px solid #080808; !important
       font-style: italic; !important
       font-size: 16px;
       	text-align: center; !important
       	line-height: 1; !important
       	color: #757575;
       background-color: #f3f3f3; !important
       border-top: 1px solid #080808; !important
   
       }
       ```
   
 * What am I doing wrong? And what is the easy way to debug problems like this? 
   Also, my previous problem was that my changes were not being displayed (even 
   after pressing ‘refresh’). Is there a solution for that?
 * My site is: [http://general-staff.com/](http://general-staff.com/)
    -  This topic was modified 9 years, 6 months ago by [drdesidran](https://wordpress.org/support/users/drdesidran/).

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-type-not-itallic/#post-8477557)
 * You should remove your “important” declarations, they’re not only bad practice
   but they’re not in the right place.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-type-not-itallic/#post-8477560)
 * That’s the case somewhere else in your stylesheet as well. Remove the important
   declarations and if there’s still an issue then we can attempt to debug it.
 *  Thread Starter [drdesidran](https://wordpress.org/support/users/drdesidran/)
 * (@drdesidran)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-type-not-itallic/#post-8477569)
 * Well, that solved the problem! I thought I HAD to use !important to force execution
   of a line. Thanks!

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

The topic ‘Caption type not itallic’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [drdesidran](https://wordpress.org/support/users/drdesidran/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/caption-type-not-itallic/#post-8477569)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
