I've just upgraded Zen to 2.1 (from 1.2) and all of my BODY classes have disappeared -- no 'front', no 'logged-in', etc. All I see are a class for lightbox and admin classes.

Any help? I'm relatively new to Drupal, but my understanding is that these classes are created by Drupal core.

Comments

senortim’s picture

Title: Body classes disappeared » Nevermind!
Status: Active » Closed (fixed)

I used a global search and replace with my text editor (a thing, in my defense, that I do successfully quite regularly), but something went wrong and at least 11 occurrences of STARTERKIT were not found.
My bad!!

Milkrow’s picture

Title: Nevermind! » Nevermind? So what does that mean, exactly?

Could you provide a little more context as to where you had to change it back, why and what the result was? I'm having the same issue where my .front / .not-front classes aren't generating and I cannot determine why. When I went back to look at where I renamed my subtheme, I noticed that I had the wrong subtheme name, but I've changed it (wherever I could find it) and still the classes do not generate. More details would be very helpful if this is a common reason for the preprocessing to fail to print the classes. Thanks!

UPDATE: I'd forgotten to post that I had done the same thing and found that replacing "STARTERKIT" with a mistyped text snippet was the culprit.