diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 11040563..a0c344c0 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -1223,7 +1223,7 @@ class theme extends common { $path_parts = pathinfo(helper::baseUrl(false) . self::DATA_DIR . 'fonts/' . $fontValue['resource']); // Chargement de la police $fileContentCss .= '@font-face {' ; - $fileContentCss .= 'font-family:"' . $fontId . '";'; + $fileContentCss .= 'font-family:"' . $fontValue['name'] . '";'; $fileContentCss .= 'src: url("' . $fontValue['resource'] . '") format("' . $path_parts['extension'] . '");'; $fileContentCss .= '}' ; // Préchargement