• Resolved wfinley

    (@wfinley)


    This question is similar to one posted a few months back. See:
    https://www.ads-software.com/support/topic/autoptimize-breaks-my-mobile-theme/

    In short… when I aggregate my CSS code the mobile theme breaks. If I check optimize and doin’t check aggregate then it works fine – but if I check both the media queries for mobile don’t properly load.

    Suggestions? Is this due to some media query somewhere not being properly closed or something? Any ideas or should I just leave aggregate unchecked.

    Thx.

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    OK, in the CSS optimization exclusion field, can you try excluding one of below each line and report back?

    * wp-content/themes
    * OR wp-content/plugins
    * OR wp-includes/js

    Thread Starter wfinley

    (@wfinley)

    Thx. The issue went away when I included wp-content/themes. I’m assuming that’s due to some improperly coded class somewhere in the themes style?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    could be. could also be a question of order of stylesheets changed as AO aggregates per media-attribute.

    what you can now do is check the HTML source, lookcing for CSS-files that are in wp-content/themes/ and try excluding one (or more) file(s) specifically instead of bluntly excluding all. this does involve some trial & error, but the more specific the exclusion the smaller the impact on performance?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback any more so I assume this got resolved wfinley ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mobile CSS Code’ is closed to new replies.