Closed (fixed)
Project:
TouchPro
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Feb 2012 at 18:02 UTC
Updated:
15 Apr 2012 at 19:20 UTC
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
Comment #1
jurriaanroelofs commentedthx will look at this
Comment #2
jurriaanroelofs commentedFix implemented in next release
http://www.tomscott.com/everydayim/#subtheeming