Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    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), 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

    (@seph)

    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: https://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

    (@benmeredithgmailcom)

    Have you checked out my link above to https://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

    (@benmeredithgmailcom)

    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

    (@seph)

    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.