forked from ZwiiCMS-Team/ZwiiCMS
Correction aperçu theme menu hors site
This commit is contained in:
parent
3c140b0f3b
commit
30ec222de5
@ -33,11 +33,9 @@
|
|||||||
<?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?>
|
<?php if($this->getData(['theme', 'header', 'position']) === 'body'): ?>
|
||||||
<!-- Bannière dans le fond du site -->
|
<!-- Bannière dans le fond du site -->
|
||||||
|
|
||||||
<!-- menu image -->
|
|
||||||
<?php
|
<?php
|
||||||
if ($this->getData(['theme','header','linkHome'])){
|
if ($this->getData(['theme','header','linkHome'])){
|
||||||
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
echo "<a href='" . helper::baseUrl(false) . "'>" ;} ?>
|
||||||
<!-- menu image -->
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<?php if(
|
<?php if(
|
||||||
@ -54,11 +52,9 @@
|
|||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</header>
|
</header>
|
||||||
<!-- menu image -->
|
|
||||||
<?php
|
<?php
|
||||||
if ($this->getData(['theme','header','linkHome'])){echo "</a>";}
|
if ($this->getData(['theme','header','linkHome'])){echo "</a>";}
|
||||||
?>
|
?>
|
||||||
<!-- menu image -->
|
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): ?>
|
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): ?>
|
||||||
|
@ -70,6 +70,8 @@ $("input, select").on("change", function() {
|
|||||||
break;
|
break;
|
||||||
case 'body-top':
|
case 'body-top':
|
||||||
$("nav").show().insertAfter("#bar");
|
$("nav").show().insertAfter("#bar");
|
||||||
|
$("#menu").removeClass('container');
|
||||||
|
$("#menu").addClass('container-large');
|
||||||
break;
|
break;
|
||||||
case 'body-second':
|
case 'body-second':
|
||||||
if(<?php echo json_encode($this->getData(['theme', 'header', 'position']) === 'body'); ?>) {
|
if(<?php echo json_encode($this->getData(['theme', 'header', 'position']) === 'body'); ?>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user