I have been developing a subtheme and started using the custom css declared in the sub-theme:
stylesheets[all][] = css/etta.css
I had forgotten to add the template folders to the new subtheme, which I did. I cleared the cache so the new subthem templates got picked up, but then from that point on the custom css is now gone and all it is showing me is the core css. I thought that perhaps I needed to save the settings as indicated by some instructions I read (thought I presume this would only apply to colors.css), I clear the cache a few times....
When I look at firebug, none of the subtheme css files are being used, insted only core is being used: at.layout.css
I cannot figure out what is that I am doing wrong here.
Comments
Comment #1
3rdLOF CreditAttribution: 3rdLOF commentedI just figured it out:
I copied the templates from core: I need to copy the templates from the sub-theme defined as base in footheme. Once I replace the template files I had copied from core with the ones from the base sub-theme, that went away.
Now, the question is: Where do the templates need to be added? The base sub-theme (At Commerce in my case) or the footheme sub-theme I created?
This thing is awesome by the way.
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedTechnically speaking if you remove all templates from Footheme it will use the sub-themes (say for example Corolla's) templates. This is why default Footheme has no templates yet will work with Corolla.
So my advice - remove all templates and clear the cache.
Now, if you NEED to override a template because you are customizing it follow this guide:
For template suggestions follow the same guide looking for the root template - copy that and add your suggestion. For example if you need to add a
node-[content-type].tpl.php
, you should look to see if there is anode.tpl.php
file in the subtheme, if not look in Adaptivetheme (there is certainly anode.tpl.php
file there).A helpful module is the Theme Developer, it can show you what templates are being used and where they are.
Comment #3
3rdLOF CreditAttribution: 3rdLOF commentedThanks for the reply Jeff.
By the way, I made my opinion on your work public: http://drupal.org/node/1372258
Bravo man. Truly outstanding.