stylesheets[all][] = custom/style-custom.css

I have been trying to add a couple of regions with there own css ID's
So I renamved the default.style-custom.css file, as is exlained in the readme file.
added my ID's and have not had any luck. the css is not loading.

any suggestions?

Comments

Tafa’s picture

Same problem as well.

Tafa’s picture

A possible lead is the template php file which indicates the following:

// Load the custom stylesheet.
if (is_file($theme_path . 'custom/style-custom.css')) {
drupal_add_css($theme_path . 'custom/style-custom.css', 'theme', 'all');

So, what needs to be done is perhaps to make sure to name the custom file style-custom.css

JurriaanRoelofs’s picture

Status: Active » Closed (fixed)

Hi, you don't need to at the file to the .info file, as pointed out by Tafa @Feb.7 its loaded via the template.php file.

Maybe you guys are using CSS aggregation? In that case it won't work until you clear the cache.

The file will only be loaded if you remove the defaul. part so that you get style-custom.css