diff --git a/core/layout/main.php b/core/layout/main.php
index cad2d20d..9d6a0d84 100644
--- a/core/layout/main.php
+++ b/core/layout/main.php
@@ -56,7 +56,7 @@
$menuClass = $this->getData(['theme', 'menu', 'position']) === 'top' ? 'class="container-large"' : 'class="container"';
$menuClass = ($this->getData(['theme', 'menu', 'position']) === 'body-first' ||
$this->getData(['theme', 'menu', 'position']) === 'body-second' ) &&
- $this->getData(['theme', 'menu', 'container']) === 'none' // étendue sur la page
+ $this->getData(['theme', 'menu', 'width']) === 'none' // étendue sur la page
? 'class="container-large"' : 'class="container"';
?>
- 'Largeur',
- 'selected' => $this->getData(['theme', 'header', 'container'])
+ 'selected' => $this->getData(['theme', 'header', 'width'])
]); ?>
diff --git a/core/module/theme/view/menu/menu.js.php b/core/module/theme/view/menu/menu.js.php
index 25f08e62..8a26f19d 100644
--- a/core/module/theme/view/menu/menu.js.php
+++ b/core/module/theme/view/menu/menu.js.php
@@ -123,7 +123,7 @@ $("input, select").on("change", function() {
}
// Largeur étendue
- if ($("#themeMenuContainer").val() === 'none') {
+ if ($("#themeMenuWidth").val() === 'none') {
$("#menu").removeClass();
} else {
$("#menu").addClass("container");
diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php
index aceee652..d037a764 100644
--- a/core/module/theme/view/menu/menu.php
+++ b/core/module/theme/view/menu/menu.php
@@ -41,9 +41,9 @@
?>
- 'Largeur',
- 'selected' => $this->getData(['theme', 'menu', 'container'])
+ 'selected' => $this->getData(['theme', 'menu', 'width'])
]); ?>