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

  • Resolved detters

    (@detters)


    Create a unique stylesheet and put in in the WP content folder somewhere or edit the plugins stylesheet. There seems to be so many styles I need to deactivate in the default styles that I don’t want to add a bunch of overrides in my site’s stylesheet. Thanks!

    https://wordpress.org/plugins/gc-testimonials/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Chris Dillon

    (@cdillon27)

    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 );
    detters

    (@detters)

    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.