Title: Removing Bootstrap/Other Styles
Last modified: July 3, 2018

---

# Removing Bootstrap/Other Styles

 *  Resolved [antforshaw](https://wordpress.org/support/users/antforshaw/)
 * (@antforshaw)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/removing-bootstrap-other-styles/)
 * Hi,
 * I have a website in development and I have started to use your plugin (which 
   looks great by the way). The problem is that my dev’ site uses Bootstrap 3 and
   this plugin’s styles interfere in a big way with the existing styles.
 * There are other stylesheets in the plugin that are also causing problems for 
   me, such as flat-ui.css. (It’s still included in the plugin even if I don’t use
   the flat-ui skin..)
 * Can I just remove these? Or is there a better way to stop them from conflicting?

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

 *  Plugin Author [Collins Agbonghama](https://wordpress.org/support/users/collizo4sky/)
 * (@collizo4sky)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/removing-bootstrap-other-styles/#post-10457851)
 * This should help you [https://profilepress.net/disable-css-and-javascript-wordpress/](https://profilepress.net/disable-css-and-javascript-wordpress/)
 *  Thread Starter [antforshaw](https://wordpress.org/support/users/antforshaw/)
 * (@antforshaw)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/removing-bootstrap-other-styles/#post-10457895)
 * That was just what I was looking for – thank you.
 *  Thread Starter [antforshaw](https://wordpress.org/support/users/antforshaw/)
 * (@antforshaw)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/removing-bootstrap-other-styles/#post-10457953)
 * Ahh – apologies, but there now appears to be an error in the backend.
 * When I insert this code into my theme’s functions.php there is an error:
 *     ```
       add_action( 'wp_print_scripts', 'pp_deregister_javascript', 99 );
   
       function pp_deregister_javascript() {
        wp_deregister_script( 'jquery-ui-datepicker' );
        wp_deregister_script( 'password-strength-meter' );
        wp_deregister_script( 'pp-del-avatar-script' );
        wp_deregister_script( 'pp-sweetalert2' );
        wp_deregister_script( 'pp-jcarousel' );
        wp_deregister_script( 'pp-bootstrap-filestyle' );
        wp_deregister_script( 'pp-chosen' );
       }
       ```
   
 * The error is displayed on every page in the backend and is as follows:-
 *     ```
       Notice: wp_deregister_script was called incorrectly. Do not deregister the jquery-ui-datepicker script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.) in /home/harri491/public_html/dev/wp-includes/functions.php on line 4148
       ```
   
 * I’m already using the same datepicker on my site, so don’t need it to be registered
   twice.
 *  Plugin Author [Collins Agbonghama](https://wordpress.org/support/users/collizo4sky/)
 * (@collizo4sky)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/removing-bootstrap-other-styles/#post-10457976)
 * Remove `
    wp_deregister_script( ‘jquery-ui-datepicker’ );` from the code.

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

The topic ‘Removing Bootstrap/Other Styles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ppress_905d67.svg)
 * [[Abandoned] PPress](https://wordpress.org/plugins/ppress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ppress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ppress/)
 * [Active Topics](https://wordpress.org/support/plugin/ppress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ppress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ppress/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Collins Agbonghama](https://wordpress.org/support/users/collizo4sky/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/removing-bootstrap-other-styles/#post-10457976)
 * Status: resolved