Tagged: ,

Viewing 4 reply threads
  • Author
    Posts
    • #5801

      I stumbled Piklist just few days ago, and I was amazed on how it works well on the front end forms.

      Anyway, I tried to change how error notice and stuff looks like on the front end, but it seems the Piklist css placement on footer is going to be major obstacle for me trying to customize it.

      I tried to manually override it with custom css, also on footer, but it seems there’s a significant lag before my custom css takes place.

      I wonder if there’s any way to deactivate Piklist css only on front end? Thanks!

    • #5808
      jivedig
      Member

      Following. I’d like to know this as well. I’m sure we could dequeue the script, but would be nice to have a form parameter or filter to disable various scripts.

    • #5887

      Anyone have solution for this?

    • #5899
      Steve
      Keymaster

      Piklist does everything the WordPress way. You can use the standard WordPress function wp_dequeue_style()

      Put this in your theme or plugin.

      function my_dequeue_styles() {
        wp_dequeue_style('piklist-css');
      }
      add_action( 'wp_footer', 'my_dequeue_styles' );
      
    • #5907

      Ah, I completely missed that. Sorry for the low-quality question. Thanks for your efforts on this wonderful plugin!

Viewing 4 reply threads
  • The topic ‘Possible to deactivate css on front end?’ is closed to new replies.