From 30ec222de54a18983da3e13509e9e5472d429fda Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 16 Jan 2019 17:05:50 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20aper=C3=A7u=20theme=20menu=20hors?= =?UTF-8?q?=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/layout/main.php | 6 +----- core/module/theme/view/menu/menu.js.php | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core/layout/main.php b/core/layout/main.php index 3a86ee70..e3c94bc3 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -33,11 +33,9 @@ getData(['theme', 'header', 'position']) === 'body'): ?> - getData(['theme','header','linkHome'])){ echo "" ;} ?> -
- getData(['theme','header','linkHome'])){echo "
";} - ?> - + ?> getData(['theme', 'menu', 'position']) === 'body-second'): ?> diff --git a/core/module/theme/view/menu/menu.js.php b/core/module/theme/view/menu/menu.js.php index 026a7168..3c62e2ef 100755 --- a/core/module/theme/view/menu/menu.js.php +++ b/core/module/theme/view/menu/menu.js.php @@ -70,6 +70,8 @@ $("input, select").on("change", function() { break; case 'body-top': $("nav").show().insertAfter("#bar"); + $("#menu").removeClass('container'); + $("#menu").addClass('container-large'); break; case 'body-second': if(getData(['theme', 'header', 'position']) === 'body'); ?>) {