I am trying to create a subtheme of the Bluemarine theme in drupal 6.3. I have used the following .info file:

; $Id$
name = Descartes
description = Table-based multi-column theme with a Cartesian flavor.
version = 1.0
core = 6.x
base theme = bluemarine

However, when I enable the theme even at just this point, all CSS information from the Bluemarine theme seems to be lost. All the structure has been retained (the tables that are part of the theme) but there is no Bluemarine CSS formatting on anything. In testing, I changed 'base theme = bluemarine' to 'basetheme = Bluemarine', and sure enough the structure (the table tags etc) were all lost, so I know at least part of the Bluemarine theme is coming through. I also tried switching the theme to bluemarine, and it looks fine.

So does anybody have any ideas about what I can look at to try and figure out why the CSS isn't coming through to my subtheme?

Comments

jaypan’s picture

bump

Contact me to contract me for D7 -> D10/11 migrations.

barful’s picture

I get the same problem. As far as I can tell there is a bug in 6.3 and 6.4 where the main style.css from a base theme is not put into the <head>

To reproduce this create a simple theme like this :

; $Id$
name = testtheme
description = Test theme
version = 1.0
core = 6.x
engine = phptemplate
base theme = garland

Can someone please look at this?

I have installations of 6.2, 6.3 and 6.4 in test and 6.2 includes the style.css but 6.3 and 6.4 don't

egfrith’s picture

belong@mywebworkshop.com’s picture

I had the same problem, so decided to copy the original theme's stylesheet into the subtheme sheet while I waited for it to be fixed. Went back: the browser declined to show the style sheet. I cleared Drupal's cache and the stylesheets were both there: the one for the theme and the one for the subtheme.

The stylesheets are now displaying as described in the handbook.

I am sure that I had cleared the cache earlier without affecting stylesheet inclusion. I have all caching turned OFF that Drupal 6.4 allows but find I still need to clear the cache periodically.

Miriam
Otaki, New Zealand