[Plugin: W3 Total Cache] css media type changes from 'screen' to 'all' (2 posts)

  1. automaton
    Posted 5 years ago #

    I use a print stylesheet in my wp theme to create a print-friendly layout of articles on my site.
    I'd given the default style.css of my theme a media attribute of 'screen' to ensure no intereference with the print style sheet.
    Thanks to some user feedback, I've discoverd that W3TC changes the 'screen' media attribute to 'all' upon minifying. This causes all sorts of printing problems which could easily be avoided.
    Is there a setting to control css media type somewhere? I haven't found it yet.

  2. AB24
    Posted 4 years ago #

    Hey automaton,

    I'm having the exact same issue, did you ever find a fix to achieve this?

    I have tried manually selecting all other stylesheets { therefore not minifying my print.css } but it will still change the media type too???

Topic Closed

This topic has been closed to new replies.

About this Topic