0
votes

I have been creating many Drupal themes already, but this one, somehow, includes the style.css file from garland when I visit the home page. Yes. Any other page does not include that core file (as I would expect.)

The home page (node/1) was made the default page (like on my other sites). The .info file and other theme pages are defined as in the other themes, so I'm not too sure what could make it go wrong.

If you have any idea, let me know. The site (still unfinished) is here: http://ic.m2osw.com/

Thank you. Alexis

2

2 Answers

1
votes

It is allways worth clearing caches after you do things such as change theme. It could be that something was cached for that page.

0
votes

What you can try is go into the codebase and look for the definition of the "drupal_add_css", in includes/common.inc, line 1754, and temporarily add a couple of lines of code to print out the function parameters and a debug_backtrace() call to a log file. That way you can see where in your site the call to add Garland's style.css page is coming from.