From ded4ed6052d0ba0e99f63706e626fd1a15b85191 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 15 Nov 2021 22:25:26 +0100 Subject: [PATCH] idem pour le menu variable wide --- core/layout/main.php | 4 ++-- core/module/theme/view/menu/menu.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/layout/main.php b/core/layout/main.php index 7a745830..a308f443 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', 'width']) === 'none' // étendue sur la page + $this->getData(['theme', 'menu', 'wide']) === 'none' // étendue sur la page ? 'class="container-large"' : 'class="container"'; ?>