Title: bootstrap form background css
Last modified: January 28, 2021

---

# bootstrap form background css

 *  Resolved [ewaneumann](https://wordpress.org/support/users/ewaneumann/)
 * (@ewaneumann)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/bootstrap-form-background-css/)
 * Hello, I would like to change the background color of the custom bootstrap form,
   The css code uses !important rule for this class:
    .wc-stripe-bootstrap-form {
   background: #fff !important; margin-top: 10px; } what do I need to do to change
   the bg color?
 * Thank you
    Regards Ewa
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbootstrap-form-background-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/bootstrap-form-background-css/#post-13971516)
 * Hi [@ewaneumann](https://wordpress.org/support/users/ewaneumann/),
 * To change the background color you just need to add a css style that is more 
   specific than the one provided by the plugin. Here is an example:
 *     ```
       .wc-stripe_cc-container .wc-stripe-bootstrap-form{
           background-color: #000 !important; /*this will make the background black*/
       }
       ```
   
 * Kind Regards,
 *  Thread Starter [ewaneumann](https://wordpress.org/support/users/ewaneumann/)
 * (@ewaneumann)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/bootstrap-form-background-css/#post-13971793)
 * Thank you!
    that’s exactly what i was looking for! All life learning 🙂
 * Kind Regards
    Ewa

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

The topic ‘bootstrap form background css’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ewaneumann](https://wordpress.org/support/users/ewaneumann/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/bootstrap-form-background-css/#post-13971793)
 * Status: resolved