Hey,

So I'm looking to sub-theme TouchPro in order to keep updates clean.

style.css is being added in template.php. However, when you sub-theme TouchPro, it will look for style.css in the sub-theme and not the original in TouchPro.

This can be changed by making the following change:

$path = drupal_get_path('theme', 'touchpro');
drupal_add_css(
  $path . '/styling/css/style.css', array(
    'preprocess' => variable_get('preprocess_css', '') == 1 ? TRUE : FALSE,
    'group' => CSS_THEME,
    'media' => 'screen',
    'every_page' => TRUE,
    'weight' => CSS_THEME-2
  )
);

instead of using

$theme_path . '/styling/css/style.css', array(

Thanks!

Comments

JurriaanRoelofs’s picture

Assigned: Unassigned » JurriaanRoelofs

thx will look at this

JurriaanRoelofs’s picture

Status: Active » Closed (fixed)

Fix implemented in next release
http://www.tomscott.com/everydayim/#subtheeming