Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just upgraded the Blueprint theme to 6.x-2.0 from 6.x-1.7, but it appears to be conflicting with the LESS module.
After a little bit of digging, it seems that the problem is in the template.php file, in the blueprint theme folder, at line 136:
drupal_add_css($vars['bp_library_path'] .'blueprint/screen.css', 'theme', 'screen,projection');
$vars['css'] = drupal_add_css($vars['bp_library_path'] .'blueprint/print.css', 'theme', 'print');
It basically undoes the work done by the LESS module which points to the new generated css file. As a quick fix, I added the following code into my sub theme template.php file, in the THEME_preprocess_page function:
module_load_include('module', 'less', 'less');
_less_build($vars, $hook);
Any thoughts on the problem?
Comments
Comment #1
Web Assistant CreditAttribution: Web Assistant commented