Is this a feature or a bug? Also, the instructions at http://drupal.org/node/418326#local-css state "Don't forget to uncomment the call to local.css in acquia_slate.info..." there is no such call in acquia_slate.info. So how does one activate the local.css file?

Thanks.

Comments

Deepika.chavan’s picture

Hi,
You are right , there is no such call in 'acquia_slate.info' to activate local.css. But I think there is no need to add such code because local.css gets activated when we rename local_sample.css to local.css , by the following code which is there in acquia_slate's 'page.tpl.php'.

  <?php if ($local_styles): ?>
  <?php print $local_styles; ?>
  <?php endif; ?> 

Variable $local_styles has been defined in fusion_core's 'template.php' by the following code :

  $vars['local_styles'] .= (file_exists($path . '/css/local.css')) ? $link . '/css/local.css" />' . "\n" : '';

Rgrds,

Deepika Chavan.

jeremycaldwell’s picture

Status: Active » Fixed

Or you can add the "local.css" file to load through your theme by adding this line to your theme's .info file.

stylesheets[all][] = local.css

Hope that helps!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.