Hi,
If compression is enabled in Advanced settings the template blows up..Only tested in Chrome / FF using quickstart...
Dave
dziudek wrote:You're right - now all CSS - also tablet.css and mobile.css are compressed into one file without media queries.
To solve it, please change in file: lib/framework/helper.cache.php fragment (in the method useCache):
foreach ($document->_styleSheets as $strSrc => $strAttr) {
if (!preg_match('/\?.{1,}$/', $strSrc)) {
to:
foreach ($document->_styleSheets as $strSrc => $strAttr) {
if (!preg_match('/\?.{1,}$/', $strSrc) && (!isset($strAttr['media']) || $strAttr['media'] == '')) {