Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter amitramani

    (@amitramani)

    Anyone have any ideas? It is probably not related to AutoOptimize

    I am suspecting that maybe the order of the CSS media queries is incorrect?

    So for example, the media query for max-width:768px is over-writing the one for min-width:320 and max-width: 480px ?

    Plugin Author Frank Goossens

    (@futtta)

    maybe try adding some !important flags to the styles?

    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 .992em !important;
    Thread Starter amitramani

    (@amitramani)

    Thanks, @frank. I will try it. I thought the use of !important was widely discouraged ?

    Plugin Author Frank Goossens

    (@futtta)

    I thought the use of !important was widely discouraged?

    Don’t know, but I’m no CSS-expert. But getting things working takes precedence, no? 😉

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

The topic ‘Autoptimize not picking up the over-written CSS Files?’ is closed to new replies.