forked from ZwiiCMS-Team/ZwiiCMS
[9.2.10] Ajustements de marges
This commit is contained in:
parent
6b036d56a1
commit
0190e4bb6f
@ -1153,7 +1153,7 @@ class core extends common {
|
||||
// Pied de page
|
||||
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
|
||||
if($this->getData(['theme', 'footer', 'margin'])) {
|
||||
$css .= 'footer{padding:0 10px;}';
|
||||
$css .= 'footer{padding:0 20px;}';
|
||||
} else {
|
||||
$css .= 'footer{padding:0}';
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ $("input, select").on("change", function() {
|
||||
css += "footer span{color:" + $("#themeFooterTextColor").val() + ";font-family:'" + footerFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeFooterFontWeight").val() + ";font-size:" + $("#themeFooterFontSize").val() + ";text-transform:" + $("#themeFooterTextTransform").val() + "}";
|
||||
// Marge
|
||||
if($("#themeFooterMargin").is(":checked")) {
|
||||
css += 'footer{padding: 0 10px;}';
|
||||
css += 'footer{padding: 0 20px;}';
|
||||
}
|
||||
else {
|
||||
css += 'footer{padding:0}';
|
||||
|
@ -190,7 +190,7 @@
|
||||
</div>
|
||||
<div class="col6">
|
||||
<div id="themeFooterPositionOptions">
|
||||
<?php echo template::checkbox('themeFooterMargin', true, 'Alignement sur une marge horizontale', [
|
||||
<?php echo template::checkbox('themeFooterMargin', true, 'Alignement avec le contenu', [
|
||||
'checked' => $this->getData(['theme', 'footer', 'margin'])
|
||||
]); ?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user