I installed Zen, I successfully made a subtheme, styled it to look nice and then wanted to make a few changes to page.tpl.php, so copied the zen/zen/page.tpl.php file to my directory mytheme/page.tpl.php, cleared cached data and now half of the styled css info has gone, and it looks a mess, a small amount of the css is still there - which is the weird thing. i.e. some CSS styles in the mytheme.css file are applied, whilst others aren't! All my CSS is in the correct files in my new theme's folder. Removing page.tpl.php reverts to my nice fully styled theme.

What's going on ? ?

Comments

unxposed’s picture

Okay the html seems to change when I add page.tpl.php to my own directory.

Normal div order is:

page, header, skip-nav, logo-title, form, div, search, form-item, name-and-slogan, navigation, primary, header-region, block-menu, block-inner, content, menu

Order after page.tpl.php move:

page, page-inner, skip-to-nav, header, header-inner, logo-title, logo, header-blocks, block-menu, content, menu

The div's are in a completely different order, some are missing, new one's have been created... I don't get it! Obviously this is throwing the CSS as it's not what I styled for! I just don't understand why this has happened at all? I could just restyle the new html, but I'm just not confident as to why this html has changed, and whether it'll change again if I try and add something else???!!

unxposed’s picture

Sorry I'm an idiot, I was copying the page.tpl.php from the zen folder when my theme was actaulaay based on zen classic.

unxposed’s picture

Status: Active » Closed (fixed)
raulmuroc’s picture

well anyway it is happening my now. I have a theme based on Zen and when I DOWNLOAD OR ACTIVATE/DEACTIVATE A MODULE it delete the old css and make new css with different names and original css values.

Somebody knows what could be happening?