Correction aperçu theme menu hors site

This commit is contained in:
fredtempez 2019-01-16 17:05:50 +01:00
parent 3c140b0f3b
commit 30ec222de5
2 changed files with 3 additions and 5 deletions

View File

@ -33,11 +33,9 @@
<?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?>
<!-- Bannière dans le fond du site -->
<!-- menu image -->
<?php
if ($this->getData(['theme','header','linkHome'])){
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
<!-- menu image -->
<header>
<?php if(
@ -54,11 +52,9 @@
<?php endif; ?>
</header>
<!-- menu image -->
<?php
if ($this->getData(['theme','header','linkHome'])){echo "</a>";}
?>
<!-- menu image -->
?>
<?php endif; ?>
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): ?>

View File

@ -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(<?php echo json_encode($this->getData(['theme', 'header', 'position']) === 'body'); ?>) {