SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [vi] [zh] Espace de traduction

Download

#INSERT_HEAD_CSS

August 2010 — updated on : April 2012

All the versions of this article:


#INSERT_HEAD_CSS indicates where installed and activated plugins will insert their stylesheets into the generated HTML files.

The template files can overload these stylesheets depending on the order that they are referenced in the template files. Remember that if two or more styling rules with the same "weight" exist for a given element, then the last declared rule will take precedence. This means that if your template file wishes to override a "standard" CSS rule, then it will need to define that particular template-specific rule AFTER the reference to #INSERT_HEAD_CSS.

Note that in order to maintain compatibility with existing template files, if the #INSERT_HEAD_CSS does not exist within a given template file, then #INSERT_HEAD will insert its stylesheet contents instead (and do note that the order of insertion, being somewhat random in this case, may not always be the most optimal).


Show the template of this page Site powered by SPIP | Translation area | Private area