Title: Not compatible with minification?
Last modified: August 30, 2016

---

# Not compatible with minification?

 *  Resolved [Seph](https://wordpress.org/support/users/seph/)
 * (@seph)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/)
 * Hey Ben,
 * I have some issues with minification. If I minify your css file, it looks broken
   afterwards. If I exclude it from minification, custom-styles don’t apply set 
   via child theme (which is minified itself) don’t apply anymore…any idea?
 * [https://wordpress.org/plugins/better-click-to-tweet/](https://wordpress.org/plugins/better-click-to-tweet/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/#post-6755564)
 * I’m not suuper familiar with minification in general, so I am glad to learn something
   here.
 * Can you pass along a link to a site with one of the two brokennesses you mention
   above?
 * And are you minifying a custom file in the root of your uploads folder (a la 
   [my guide on customizing the design](http://benlikes.us/bcttcustom)), or minifying
   the file that ships with the plugin (in /plugins/better-click-to-tweet/assets/
   css/)
 * I might have to enlist the help of some friends to figure it out, but we will
   get it figured out.
 *  Thread Starter [Seph](https://wordpress.org/support/users/seph/)
 * (@seph)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/#post-6755566)
 * Thank you! I made sure that my custom style css is always last in the loading
   order but that didn’t to the trick. No idea what the issue is.
 * It’s either
 * a) exlcuding my style-css everything is fine
    b) minifying both style-css, mine
   and that of your plugin, part of my custom css appears but overall the laoyut
   looks broken (f.e. no padding etc.) c) exlcuding the plugin style css from minification
   but my custom style css is minified = plugin appears in the standard layout, 
   no custom css applied (or just partly)
 * Right now I’m in mode C and you can check it out here: [http://bit.ly/1MVXcgP](http://bit.ly/1MVXcgP)
 * Look into the css rules and you can see the style I tried to apply. F.e. even
   with !important I can’t change the font. Hard to tell what the issue is, could
   be my code or the minification process as well.
 *  Plugin Author [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/#post-6755572)
 * Have you checked out my link above to [http://benlikes.us/bcttcustom](http://benlikes.us/bcttcustom)?
   Try that method of modifying the style. then it won’t load the default styles
   at all.
 * You should **not** try to modify the styles of the bctt boxes using your theme’s
   custom stylesheet. Because it’ll still load the default stylesheet that ships
   with my plugin (which lives at /plugins/better-click-to-tweet/assets/css) and
   has all of those annoying `!important` declarations.
 * Instead, move the bcttstyle.css file (that ships in the same location) to the
   root of your uploads folder (don’t change the name of the file), and modify the
   file there. That way your changes will survive plugin updates, and it doesn’t
   even load the default css file from my plugin.
 * Let me know if that makes sense.
 * Thanks!
    Ben
 *  Plugin Author [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/#post-6755681)
 * Following up here:
 * Did you get things sorted out? I’m going to go ahead and mark this issue as resolved,
   but feel free to reach back out if you need help!
 *  Thread Starter [Seph](https://wordpress.org/support/users/seph/)
 * (@seph)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/#post-6755682)
 * I didn’t try it yet, I just excluded the css from minification. I’ll have a look
   at it tomorrow.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Not compatible with minification?’ is closed to new replies.

 * ![](https://ps.w.org/better-click-to-tweet/assets/icon-256x256.gif?rev=3482807)
 * [Better Click To Share – Shareable Quote Boxes for X (Twitter)](https://wordpress.org/plugins/better-click-to-tweet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-click-to-tweet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-click-to-tweet/)
 * [Active Topics](https://wordpress.org/support/plugin/better-click-to-tweet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-click-to-tweet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-click-to-tweet/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Seph](https://wordpress.org/support/users/seph/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-minification/#post-6755682)
 * Status: resolved