jQuery Pin It Button For Images
[resolved] Removing Inline CSS (4 posts)

  1. purrdesign
    Posted 1 year ago #

    In an effort to clean up my site's header and improve pagespeed, I'm trying to get rid of any extra css files. I was able to move this plugin's .js to the site footer, and include the plugin's css in my own theme's stylesheet. However there is still a big chunk of inline css being loaded in my site header. Is there any way that I can remove this, copying it into my theme css file instead? I understand the settings page won't reflect changes but I'm pretty set with the button settings and don't foresee needing to change that.



  2. Marcin Skrzypiec
    Plugin Author

    Posted 1 year ago #


    you can copy the inline CSS to your theme's CSS and go to the includes/public/class-jpibfi-client.php file and remove the following line:

    add_action( 'wp_head', array( $this, 'print_header_style' ) );

    Hope that helps.

  3. purrdesign
    Posted 1 year ago #

    Perfect, thank you!

  4. purrdesign
    Posted 1 year ago #

    Update: this no longer seems to work with the newest update. The CSS is as it should be in my stylesheet, and yet the custom image I have uploaded doesn't seem to show up anymore.

    I'd love to get this CSS out of my header. Please advise...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Pin It Button For Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.