Ok so I know I can just comment out "print $styles;" and declare the styles I want manually, but I would rather add and subtract CSS from the array.

Here is the method for adding a style sheet:

http://api.drupal.org/api/function/drupal_add_css

How do I remove a sheet?

I found this: http://www.drupal.org.uk/node/474 - but author states "Things change a bit in Drupal 6" without elaborating.

Thanks for help.

Comments

shawn.sh’s picture

You can do this through the theme.info file that all themes must have in D6.

More info: http://drupal.org/node/171205

But the idea is that you can easily add stylesheets by just changing a line in the theme.info file

stylesheets[all][]   = screen.css
stylesheets[print][] = print.css

You can also remove/override style sheets that you don't like by adding them as well

stylesheets[all][]   = defaults.css
stylesheets[all][]   = system.css
stylesheets[all][]   = user.css
stylesheets[all][]   = node.css

Remember that the theme.info file is cached so you'll have to clear it to see the changes.

If you are worried about the amount of server hits for all those css files remember that Drupal can compress and aggregate all of your css into one css file.

--
Shawn Gregg

gmndesign.com - portfolio
shalosophy.com - blog