I'm new to Drupal and have been reading the guides and trying to understand how to make a CSS theme. I started it offline with my images and html/css and then added the php code (copy paste from another basic template) to where I thought it should be in my divs (trying to go tableless). When I upload it and make the theme default I lose all CSS markup/styling. I get a while page with black text and links. No styling at all. I'm guessing that if a theme isn't 100% correctly written it'll default to no theme so you can still use the interface. I just don't know where to look now. I think I'm not using the classes and id's correctly. I've read the guide and still don't get when to use what and whether it matters / could break the theme altogether. Any insight would be appreciated!

Comments

ipwa’s picture

Try using Zen theme, I don't use it anymore because I made my own base theme, but it helped me learn everything about Drupal themes. Follow the documentation and try creating a subtheme, or just change the CSS of the main theme. there might be many reasons why Drupal is not picking up your theme's CSS, if you're in D6 you need a .info file. Try looking at base themes like Zen and clean for example, to see how you can work from those templates.

Nicolas
-------------------------
http://nic.ipwa.net

Nicolas
-------------------------