WordPress.org

Ready to get started?Download WordPress

Forums

GC Testimonials
[resolved] Best Strategy to Modify CSS (3 posts)

  1. detters
    Member
    Posted 11 months ago #

    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/

  2. Chris Dillon
    Member
    Posted 11 months ago #

    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 );
  3. detters
    Member
    Posted 11 months ago #

    Thanks Chris! Worked like a charm.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.