9.2.28 largeur footer

This commit is contained in:
Fred Tempez 2020-04-27 09:12:52 +02:00
parent c2ca2718e6
commit 27719f772a
2 changed files with 4 additions and 3 deletions

View File

@ -629,7 +629,8 @@ section:after {
/* Pied de page */ /* Pied de page */
body > footer { body > footer {
margin: 0 -10px; /*margin: 0 -10px;*/
margin: 0;
} }
/* /*

View File

@ -203,6 +203,7 @@
<!-- footer --> <!-- footer -->
<?php <?php
// Déterminer la position // Déterminer la position
$positionFixed = '';
if( if(
$this->getData(['theme', 'footer', 'position']) === 'site' $this->getData(['theme', 'footer', 'position']) === 'site'
// Affiche toujours le pied de page pour l'édition du thème // Affiche toujours le pied de page pour l'édition du thème
@ -210,8 +211,7 @@
$this->getData(['theme', 'footer', 'position']) === 'hide' $this->getData(['theme', 'footer', 'position']) === 'hide'
AND $this->getUrl(0) === 'theme' AND $this->getUrl(0) === 'theme'
) )
) { $position = 'site'; ) { $position = 'site';
$positionFixed = '';
} else { } else {
$position = 'body'; $position = 'body';
if ( $this->getData(['theme', 'footer', 'fixed']) === true) { if ( $this->getData(['theme', 'footer', 'fixed']) === true) {