idem pour le menu variable wide
This commit is contained in:
parent
14975789c4
commit
ded4ed6052
@ -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"';
|
||||
?>
|
||||
<div id="menu" <?php echo $menuClass; ?> >
|
||||
@ -107,7 +107,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"';
|
||||
?>
|
||||
<div id="menu" <?php echo $menuClass; ?> >
|
||||
|
@ -43,7 +43,7 @@
|
||||
<div class="col6">
|
||||
<?php echo template::select('themeMenuWide', $module::$containerWides, [
|
||||
'label' => 'Largeur',
|
||||
'selected' => $this->getData(['theme', 'menu', 'width'])
|
||||
'selected' => $this->getData(['theme', 'menu', 'wide'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user