forked from ZwiiCMS-Team/ZwiiCMS
[9.2.00.dev] réglage des marges du contenu personnalisé
This commit is contained in:
parent
bd62b58c59
commit
c9461c6857
@ -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']) . '}';
|
||||
|
@ -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");
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user