Even when you have disabled "Zentropy responsive styles" the theme forces you to use a default stylesheet loaded with min-width etc. Would it be possible to have an option for a custom "theme.css" as the default stylesheet instead of all those min/max-width ones?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dmitriy.panyuta’s picture

you may try this in your tamplate.php

/**
 * Implementation of hook_css_alter()
 */
function theme_css_alter(&$css) {
  $exclude = array(
    'sites/all/themes/contrib/zentropy/css/zentropy.css' => FALSE,
    'sites/all/themes/contrib/zentropy/css/layout/zentropy-320.css' => FALSE,
    'sites/all/themes/contrib/zentropy/css/layout/zentropy-480.css' => FALSE,
    'sites/all/themes/contrib/zentropy/css/layout/zentropy-768.css' => FALSE,
    'sites/all/themes/contrib/zentropy/css/layout/zentropy-992.css' => FALSE,
    'sites/all/themes/contrib/zentropy/css/layout/zentropy-1382.css' => FALSE,
  );
  $css = array_diff_key($css, $exclude);
}
davidneedham’s picture

I agree, that should be handled in a way that lets it be excluded, without additional input beyond checking that box. Anyone feel up for rolling a patch to implement that change?

Temoor’s picture

Status: Active » Patch (to be ported)
FileSize
1.1 KB

Possibly this bug is caused by usage of zentropy_responsive_enable variable in other themes.