Hi, All

Clarification - Styles sheets- help

....from .... Style sheets ...

Overriding core and module style sheets:

To override a core or module style sheet, it can be redefined from the themes .info file. Take "system-menus.css" as an example. It is located in "modules/system/system-menus.css". With this entry, the original CSS file will be ignored and your local copy will be loaded.

....

+

stylesheets[all][] = system-menus.css

So this means if I:

#1. copy the file system-menu.css from modules/system/system-menus.css
and copy it in my Theme folder

#2. add in system-menu.css with @import --> mystyles.css

#3. have put in Themes info.file -->
stylesheets[all][] = system-menus.css

#4. Make my further changes to custom myThemes for Menu styles

Is this correct or have I missed something ?

Comments

Wolfflow’s picture

...formulated wrong.... I really need someone could help me in clearing this.!!

Any one in here?

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

haza’s picture

1. copy the file system-menu.css from modules/system/system-menus.css
and copy it in my Theme folder
yes

#2. add in system-menu.css with @import --> mystyles.css
WRONG

#3. have put in Themes info.file -->
stylesheets[all][] = system-menus.css
yes
putting this in your .info file automaticaly put @import ... in your page.tpl.php ($styles variable is generated with stylesheets declared in the .info file, so juste use print $styles )

Wolfflow’s picture

That's great from you thanks
:-)))

There is nothing better then Drupal. Please contribute
Wolfflow's Blog

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.