I'm a bit confused on how to subtheme or customise zeropoint.

The CSS files are added in the template.php rather than in zeropoint.info so if I subtheme I find that the subtheme css gets added before the base theme css so doesn't override it. There doesn't seem to be anything later than preprocess_html function I could put in the subtheme template.php. I've tried mysubtheme_preprocess_html(&$vars) and then having that do

zeropoint_preprocess_html($vars)
drupal_add_css(etc.

But that doesn't work as the function get_zeropoint_style inside the zeropoint_preprocess_html function. If I move get_zeropoint_style outside the function then it is happy

You say to use _custom/custom-style.css and make changes there, then to rename that file to stop updates reversing any changes. But as far as I can see if the file name is changed it doesn't get loaded, so that doesn't work

Also, another bug, in custom-style.css you have .sizer when it should be .sizer0.

It would seem preferable to follow Drupal's recommend route and subtheme in order to override or even just to add new templates. At least that way all the customizations are in a separate folder and zeropoint can be upgraded without any adverse effects.

Comments

vls’s picture

I just encountered the problem with not being to override the default width also.

The problem with wrong class (.sizer rather than .sizer0) in
_custom/custom-style.css was mentioned and claimed to be fixed in the last
PR from earlier this year under Drupal 6. It Looks like the same problem
got re-introduced.

This is a nice theme though. Thanks.

malc_b’s picture

Another issue with subtheming

template.php in lines 101, 102 has path_to_theme() rather than drupal_get_path('theme','zeropoint'). So ie6.css and ie7.css will be looked for in the the subtheme css directory.

Florian’s picture

Status: Active » Fixed

This was fixed in 7.x-1.2 and 6.x-1.13 releases of ZeroPoint theme.

Status: Fixed » Closed (fixed)

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

veskimees’s picture

Sorry, maybe I miss something, but subtheming isn't still possible? 2 days of hacking and I surrender...
0point is great theme but its serious disadvantage.