I am trying to accomplish the following. I need to use Drupal 6 as a project requirement, but I want to use it with my own HTML and CSS stylesheets for each node/view/panel etc.

The problem is, whatever the theme, I always found that Drupal applies to my HTML content both my CSS stylesheets and the CSS related to the theme chosen. I have also tried, without success, using the stylestripper module (installed in sites/all/modules). No matter what I do, additional CSS stylesheets are applied to my pages, completely destroying my layout.

What is the proper way to achieve this? Why stylestripper does not work at all? Is there a completely blank theme available? I have tried basic, mothership, zen etc, but I always see additional CSS stylesheets applied to my pages.

This is driving me crazy. Thank you in advance.

Comments

vm’s picture

investigate the stark theme, which may a theme that produces as little styling as possible. I'm not sure ALL styling can be removed, some may need to be overridden.

ytin’s picture

Look in the .info file for the theme you are using and remove the reference to the style.css or copy your css to style.css file. Once you make the changes, clear the cache (just to be sure) and hard refresh the page to see the changes.

eforth’s picture

Choose a theme you like/are familiar, then start overriding it's CSS with your own. Drupal structure (+ a theme) has so many classes and IDs that is quite dificult to build a CSS file that takes care of all of them. Go overriding, it might take time, but I find it very instructive (look out for copytrights tough).