• Resolved Aljook

    (@aljook)


    Hello,

    I am having issues with custom css being applied (button background gradient), while Autoptimize (namely the “optimize CSS” option) is enabled. I have CDN enabled on my host’s side as well. In Autopimize settings I added the CDN base url. Now, every other optimization works as it should. But the CSS is not applied and it uses some old/base CSS. If I remove the base URL, the whole element goes missing after showing briefly. It seems like the Autoptimize CSS file stored in the CDN isn’t being cleared. I tried clearing Autoptimize cache, the host’s cache, disabling the CDN and removing and adding back the CSS to Additional CSS in the customizer but nothing seems to work.

    I got it showing properly after removing the CSS optimization, but it would be awesome if you could help somehow.

    Cheers,

    Alo

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Assuming the custom css is added inline, you could try unticking “also aggregate inline CSS”?

    Thread Starter Aljook

    (@aljook)

    Hmm, I’m not sure whether its added inline or not (sorry, technical, but not that technical). I added the CSS in the customizer.

    I tried unticking the aggregate tick though, but it didn’t work.

    At first even just enabling the plugin borked things up. But now, after a day, everything seems fine. So I guess it was some kind of a cache expiring issue.

    Thanks!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So all is fine now? If not; feel free to share your URL so I can have a quick look 🙂

    frank

    Thread Starter Aljook

    (@aljook)

    Yup, seems to be. Thanks for being so forthcoming though 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, marking as resolved 🙂

    have a nice day!
    frank

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

The topic ‘Optimizing CSS not working’ is closed to new replies.