diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 4a477d8f..d68f689b 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -105,7 +105,7 @@ class theme extends common { '2.4vmax' => 'Très grande (240%)' ]; public static $headerHeights = [ - 'none' => 'Automatique', + 'none' => 'Responsive', '100px' => 'Très petite (100px) ', '150px' => 'Petite (150px)', '200px' => 'Moyenne (200px)', diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index b0246bed..1ae91233 100755 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -70,7 +70,11 @@
'Adaptation', - 'selected' => $this->getData(['theme', 'header', 'imageContainer']) + 'selected' => $this->getData(['theme', 'header', 'imageContainer']), + 'help' => 'Responsive (cover) : rogne une image trop grande sans la déformer - + Responsive (contain) : agrandit une image trop petite sans la déformer. +

Pour une bannière full responsive, sélectionnez aussi Hauteur -> Responsive. +
Dans ce cas le titre est indisponible.' ]); ?>
@@ -92,10 +96,7 @@
'Hauteur', - 'selected' => $this->getData(['theme', 'header', 'height']), - 'help' => 'Pour une bannière image responsive, sélectionnez automatique, - dans ce cas la hauteur est proportionnelle à la largeur de l\'image. - Le titre du site est indisponible en mode responsive.' + 'selected' => $this->getData(['theme', 'header', 'height']) ]); ?>