Wednesday 28 July 2010 9:25:00 am
Hi Laurent, why don't you try it this way? Override page_head_style.tpl in your design/your_design/templates/page_head_style.tpl with this code:
<style type="text/css">
@import url({ezini('StylesheetSettings','ClassesCSS','design.ini')|ezroot(no)});
@import url({ezini('StylesheetSettings','SiteCSS','design.ini')|ezroot(no)});
</style> Then you can set the CSS files you'd like to replace them with in your settings/siteaccess/settings/design.ini.append.php:
[StylesheetSettings]
ClassesCSS=path_to_your_design/your_design/stylesheets/your_new_classes-colors.css
SiteCSS=path_to_your_design/your_design/stylesheets/your_new_site-colors.css Of course you have to ensure that the CSS files exist. Hope that was a little helpful.
|