diff --git a/core/core.php b/core/core.php index a1bc59ad..20d0d31d 100644 --- a/core/core.php +++ b/core/core.php @@ -1092,6 +1092,7 @@ class core extends common { $css .= 'footer{background-color:' . $colors['normal'] . ';color:' . $this->getData(['theme', 'footer', 'textColor']) . '}'; $css .= 'footer a{color:' . $this->getData(['theme', 'footer', 'textColor']) . '}'; //$css .= 'footer .container > div {padding:' . $this->getData(['theme', 'footer', 'height']) . ' 0}'; + $css .= '#footerFontText > p {margin-top: 0; margin-bottom: 0;}'; $css .= '#footersiteLeft, #footersiteCenter, #footersiteRight {padding:' . $this->getData(['theme', 'footer', 'height']) . ' 0}'; $css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}'; $css .= '#footerText{text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}'; diff --git a/core/module/theme/view/footer/footer.js.php b/core/module/theme/view/footer/footer.js.php index a89e9dc1..5216fdf9 100755 --- a/core/module/theme/view/footer/footer.js.php +++ b/core/module/theme/view/footer/footer.js.php @@ -56,11 +56,18 @@ $("input, select").on("change", function() { break; case 'site': $("footer").show().appendTo("#site"); + $("footer > div:first-child").removeAttr("class"); + $("footer > div:first-child").addClass("container"); break; case 'body': $("footer").show().appendTo("body"); + $("footer > div:first-child").removeAttr("class"); + $("footer > div:first-child").addClass("container-large"); break; } + // RĂ©duire la marge du paragraphe de la zone de texte enrichie + $("#footerFontText > p").css("margin-top","0"); + $("#footerFontText > p").css("margin-bottom","0"); });