Zusätzliche CSS Dateien in Drupal einbinden

Montag: 2. Aug 2010
Um in Drupal 6 weitere CSS-Dateien über das Theme einzubinden, muss lediglich die [themename].info des entsprechenden Themes angepasst werden.

[themename].info

stylesheets[all][] = reset.css
stylesheets[all][] = style.css

Komplettes Beispiel

name = example-theme
description = Test Theme for Drupal 6
core = 6.x
engine = phptemplate

stylesheets[all][] = reset.css
stylesheets[all][] = style.css
Noch keine Bewertungen vorhanden

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.