Support » Plugin: jQuery Pin It Button for Images » Removing Inline CSS

  • Resolved purrdesign


    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.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mrsztuczkens



    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.

    Perfect, thank you!

    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…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Inline CSS’ is closed to new replies.