Title: CSS optional
Last modified: April 20, 2018

---

# CSS optional

 *  [axelderoubaix](https://wordpress.org/support/users/axelderoubaix/)
 * (@axelderoubaix)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-optional/)
 * Guido,
 * I love your minimalist approach!
 * To go even further on that point I was wondering if it be possible to give the
   option to disable the CSS so that we could simply add it to our child theme’s
   CSS thus reducing server requests an loading time?

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

 *  Plugin Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-optional/#post-10201699)
 * Hi,
 * There was another user who requested to load my stylesheet only when a page or
   widget is displayed that contains my form. Unfortunately that was quite difficult
   because it’s not easy to determine when the widget is displayed. It’s easy to
   determine if widget is active somewhere at your site or not, but that isn’t enough
   in this case.
 * Did not think about adding an option to disable entire stylesheet.
    Please note
   my plugin is build to support bootstrap. So it might also use your theme stylesheet,
   in case this contains bootstrap CSS as well. In that case disabling my CSS can
   cause unexpected behaviour.
 * Regarding page load: CSS file is a single KB so loading time should be close 
   to none 😉
 * Guido
 *  Thread Starter [axelderoubaix](https://wordpress.org/support/users/axelderoubaix/)
 * (@axelderoubaix)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-optional/#post-10207844)
 * Guido,
 * I know it’s a very small file but it is still an extra server request. Good practices
   according to Google is to have a few requests as possible. I could simply dequeue
   the styles and add the CSS to my theme style.css file but I think it’s a good
   idea to have the option in the plugin.
 * What do you think?

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

The topic ‘CSS optional’ is closed to new replies.

 * ![](https://ps.w.org/very-simple-contact-form/assets/icon-256x256.png?rev=1415751)
 * [VS Contact Form](https://wordpress.org/plugins/very-simple-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/very-simple-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/very-simple-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/very-simple-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/very-simple-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/very-simple-contact-form/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [axelderoubaix](https://wordpress.org/support/users/axelderoubaix/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/css-optional/#post-10207844)
 * Status: not resolved