Title: Remove Caption Formating
Last modified: August 22, 2016

---

# Remove Caption Formating

 *  Resolved [pnb1](https://wordpress.org/support/users/pnb1/)
 * (@pnb1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/)
 * Hello,
    I would like to know how to remove thumbnail captions formatting. [http://s9.postimg.org/7906oa54f/caption_formating.png](http://s9.postimg.org/7906oa54f/caption_formating.png)
 * In the picture above I would like to remove the white background which appears
   every time I add caption. I would also like to remove all the paddings and borders
   that appear after adding caption.

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

 *  Theme Author [Silkalns](https://wordpress.org/support/users/silkalns/)
 * (@silkalns)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954778)
 * Please post your website URL exactly where it appears and I will have a look.
 *  Thread Starter [pnb1](https://wordpress.org/support/users/pnb1/)
 * (@pnb1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954779)
 * Thanks for reply,
 * Here, for example: [http://tavernofdreams.com/best-lucid-dreaming-apps/](http://tavernofdreams.com/best-lucid-dreaming-apps/)
   
   You can see an ugly white box around every thumbnail which appears after adding
   caption
 *  Theme Author [Silkalns](https://wordpress.org/support/users/silkalns/)
 * (@silkalns)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954780)
 * Add this CSS to Appearance >> Theme Options >> Other >> Custom CSS
 *     ```
       .thumbnail {
         padding: 0;
         background: none;
         border: 0;
       }
       .wp-caption .wp-caption-text {
         margin-top: 0;
       }
       ```
   
 * It will get rid of padding, margins. border and white background.
 * Let me know if this is what you were looking for.
 *  Thread Starter [pnb1](https://wordpress.org/support/users/pnb1/)
 * (@pnb1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954812)
 * Unfortunately, that didn’t worked. I was trying to modify these same CSS classes
   also.
 *  Theme Author [Silkalns](https://wordpress.org/support/users/silkalns/)
 * (@silkalns)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954814)
 * Code is correct but there is another mistake in your CSS before that, so it breaks
   everything that comes after.
 * You have a missing curly bracket `"}"` (without quotes) at the end of this selector:
 * `.navbar.navbar-default`
 * Right after that gradient code that you are using for this selector. Once you
   will add this curly bracket everything will work just fine.
 *  Thread Starter [pnb1](https://wordpress.org/support/users/pnb1/)
 * (@pnb1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954821)
 * Awesome, that really works now! Thank you

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

The topic ‘Remove Caption Formating’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [pnb1](https://wordpress.org/support/users/pnb1/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/remove-caption-formating/#post-5954821)
 * Status: resolved