Support » Plugin: Subscribe to Category » Latest plugin version breaking CSS

  • Resolved MetalMusicMan

    (@metalmusicman)


    Activating version 2.3.8 completely breaks all of my CSS on my site, previous version (with the subject string error) does not do that (but still has the subject string error).

    Update — it seems to be incompatible with Autoptimize and minifying my CSS. It wasn’t that way before, but disabling the Autoptimize “Optimize CSS” setting fixes the issue at least for now.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author vandestouwe

    (@vandestouwe)

    Oké I have introduced a new css file for STC handling the treeview of categories. This is because we now can have also customized taxonomies to subscribe to. This css file you can find at wp-content\plugins\subscribe-to-category\css\stc-tax-style.css

    If there anything in there that breaks Autoptimize “Optimze CSS”?

    Can you prevent this css from being optimized? Does it also optimize the jsquery code in class-stc-subscribe.php if so can you prevent this from being optimized? All this to understand what and where it goes wrong

    • This reply was modified 9 months, 1 week ago by vandestouwe.
    • This reply was modified 9 months, 1 week ago by vandestouwe.
    Thread Starter MetalMusicMan

    (@metalmusicman)

    I have never optimized JS because it has always caused issues, so I can’t speak to that.

    I just tried excluding “wp-content/plugins/subscribe-to-category/css/stc-tax-style.css” from my Autoptimize CSS Minification, but it still had the same error of bricking all CSS on my site.

    What happens if you exclude wp-content/plugins/subscribe-to-category/ and/ or untick “also aggregate inline CSS”?

    Thread Starter MetalMusicMan

    (@metalmusicman)

    What happens if you exclude wp-content/plugins/subscribe-to-category/ and/ or untick “also aggregate inline CSS”?

    That makes it work normally!

    Plugin Author vandestouwe

    (@vandestouwe)

    Can you also try excluding the one or the other seperatly?

    • This reply was modified 9 months, 1 week ago by vandestouwe.
    Plugin Author vandestouwe

    (@vandestouwe)

    I checked the wp-content\plugins\subscribe-to-category\css\stc-tax-style.css for errors and I found an error.
    On line 37 just after the closing comment a ‘ character slipped in. This did not caused a problem when you did not optimized the css file. But after optimizing the complete css structure was brokenbecause of this error. I found the problem using wp-optimze and with the option ” Inschakelen CSS bestanden samenvoegen ” it pointed me in the right direction. I have tested the corrected css file with optimization on and it works fine now.

    A new release will be made available today

    • This reply was modified 9 months, 1 week ago by vandestouwe.
    • This reply was modified 9 months, 1 week ago by vandestouwe.
    • This reply was modified 9 months, 1 week ago by vandestouwe.
    Thread Starter MetalMusicMan

    (@metalmusicman)

    Awesome, thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Latest plugin version breaking CSS’ is closed to new replies.