diff --git a/prive/themes/spip/style_prive.css.html b/prive/themes/spip/style_prive.css.html
index 48579b3db3515a6b52ee55542eee4df788f3878b..c1cbf8031f5fc59735ffb0153c07e2e0ec2f1237 100644
--- a/prive/themes/spip/style_prive.css.html
+++ b/prive/themes/spip/style_prive.css.html
@@ -31,8 +31,8 @@ Valeurs par defaut :
 
 [(#REM) les vieux styles a evacuer en premier, ca permet qu'ils ne polluent pas en cas de double definition]
 
-[(#INCLURE{#VAL{clear.css}|find_in_theme|direction_css{#GET{dir}}})]
-[(#INCLURE{#VAL{layout.css}|find_in_theme|direction_css{#GET{dir}}})]
+[(#INCLURE{#VAL{clear.css}|find_in_theme|substr{#VAL{_DIR_RACINE}|constant|strlen}|direction_css{#GET{dir}}})]
+[(#INCLURE{#VAL{layout.css}|find_in_theme|substr{#VAL{_DIR_RACINE}|constant|strlen}|direction_css{#GET{dir}}})]
 
 <BOUCLE_css(POUR){tableau #LISTE{typo.css,grids.css,bando.css,icons.css,lists.css,forms.css,picker.css,box_skins.css,jquery-ui.css,content.css,exceptions.css,theme.css}}>
 [(#SET{fond,[(#VALEUR|concat{.html}|find_in_theme|substr{[(#VAL{_DIR_RACINE}|constant|strlen)],[(#VAL{-5}|intval)]})]})]