Support » Plugin: GC Testimonials » Best Strategy to Modify CSS

Viewing 2 replies - 1 through 2 (of 2 total)
  • When facing a lot of overrides, I like to dequeue the plugin stylesheet entirely and style up as needed. Much cleaner and no risk of losing changes to a plugin update.

    function my_dequeue_styles()
    {
      wp_dequeue_style( 'gctstyles' );
    }
    add_action( 'wp_enqueue_scripts', 'my_dequeue_styles', 99 );

    Thanks Chris! Worked like a charm.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Best Strategy to Modify CSS’ is closed to new replies.