• user warning: Unknown column 'u.signature_format' in 'field list' query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.signature, u.signature_format, u.picture, u.data, c.thread, c.status FROM dp_comments c INNER JOIN dp_users u ON c.uid = u.uid WHERE c.nid = 14 AND c.status = 0 ORDER BY SUBSTRING(c.thread, 1, (LENGTH(c.thread) - 1)) LIMIT 0, 50 in /www/pixture/html/drupal/modules/comment/comment.module on line 992.
  • user warning: Table 'pixture_en.dp_captcha_sessions' doesn't exist query: INSERT into dp_captcha_sessions (uid, sid, ip_address, timestamp, form_id, solution, status, attempts) VALUES (0, 'f714f708a6c01ae1f9fbfa0e2bc0f93b', '38.107.191.82', 1265688369, 'comment_form', 'undefined', 0, 0) in /www/pixture/html/drupal/sites/all/modules/captcha/captcha.inc on line 92.
  • user warning: Table 'pixture_en.dp_captcha_sessions' doesn't exist query: SELECT status FROM dp_captcha_sessions WHERE csid = 241558 in /www/pixture/html/drupal/sites/all/modules/captcha/captcha.inc on line 112.
  • user warning: Table 'pixture_en.dp_captcha_sessions' doesn't exist query: SELECT status FROM dp_captcha_sessions WHERE csid = 241558 in /www/pixture/html/drupal/sites/all/modules/captcha/captcha.inc on line 112.
  • user warning: Table 'pixture_en.dp_captcha_sessions' doesn't exist query: UPDATE dp_captcha_sessions SET timestamp=1265688369, solution='NP6eG' WHERE csid=241558 in /www/pixture/html/drupal/sites/all/modules/captcha/captcha.inc on line 104.
Submission of a form on this page has been disabled as you do not have JavaScript enabled in your browser.

Customizing recolorable themes

To customize recolorable themes such as the Garland and themes distributed at this site, there are things you should know in advance. This article explains about the things you should know to customize the style sheet (style.css) for recolorable themes (themes that supports color module).

Color Module
First of all, you should select the default color scheme (the first color set in the color set list). If you use non default color scheme or custom colors, the change you make to the style.css in the theme directory will not take effect immediately by reloading the current page by the web browser.

This is because non-default color schemes do not use the style.css in the theme directory. Only the default color scheme directly use the style.css in the theme directory. If you select non-default color scheme (or custom color), a new directory named "themename-XXXXX" is created under the files/color directory everytime you press the "Save Settings" button at the theme settings page. (XXXXX represents some random numbers).
In this files/color/themename-XXXXX directory, you will find all the images and style.css which are generated by the color module. Then this files/color/themename-XXXX/style.css is used instead of the original style.css in the theme directory. That's why your change to the original style.css does not take effect immediately.

If you still want to work on the non-default color scheme, you need to do the "Save Settings" at theme settings page everytime you make changes to the style.css in the theme directory. With this "Save Settings" operation, a new files/color/themename-YYYY directory and the contents including style.css are generated based on the latest style.css you have created. With this extra step, you can work on non-default color scheme, but this is not a smart (and easy) way to change style.css. I recommend that you stick with the default color scheme if you make any changes to the style.css of the recolorable theme.

Besides, if you select the default color scheme, the directory files/color/themename-XXXX and contents are deleted. Do not worry about this. The original images and style.css in the theme directory are used instead of the one generated by the color module.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options