By l2u on
Hello
I'd like to exclude some styles that are being included in the drupal theme template files by default when you do:
print $styles
in the tpl.php files.
The file I want to exclude is /drupal/modules/system/system.css because it interrupts my theme.
How is that possible?
Many thanks in advance!
Comments
I think that such files can
I think that such files can be over-ridden by your theme in D6 (see documentation elsewhere on this site™)
What version are you using?
___________________
It’s in the detaιls…
demonstration portfolio
Drupal 6.0
Drupal 6.0
So, have you found it?
or are you waiting to be spoon-fed?
Documentation » Theme guide (Drupal 6) » Style sheets.
Upgrade to D6.2 — Security issues.
___________________
Post a link! – you know it makes sense.
Have you explored/searched the documentation?
Explore your /admin page!
It’s in the detaιls…
demonstration portfolio
Sorry. Thanks for help, I
Sorry.
Thanks for help, I figured it out. One thing.. Do you think its better to over-ride the whole css in such cases or just over-ride the css tags that spoil your theme? I did the second thing.
np
In general, it is better to only over-ride the styles which are conflicting. The core styles are designed to only do their job, and not get in the way.
Occasionally it might be necessary to over-ride a whole css file, if this is neater and more efficient, in terms of download and browser rendering.
Another thing, there are only two versions, one of which you should be using: 5.7 & 6.2.
___________________
It’s in the detaιls…
demonstration portfolio
Can I override it with empty
Can I override it with empty css file (which would be the same as excluding it)?
I think it would really be a pain to customize whole system.css and system-menus.css because they're pretty big.
Skinning Rabbits...
There are two ways to over-ride;-
If you do the latter with an empty file, you can start from scratch.
If your complaint that they are pretty big means you only want to customise a few styles, then do the former.
___________________
It’s in the detaιls…
demonstration portfolio