[9.2.10] Ajustements de marges

This commit is contained in:
fredtempez 2019-11-12 19:01:53 +01:00
parent 6b036d56a1
commit 0190e4bb6f
3 changed files with 3 additions and 3 deletions

View File

@ -1153,7 +1153,7 @@ class core extends common {
// Pied de page // Pied de page
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor'])); $colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
if($this->getData(['theme', 'footer', 'margin'])) { if($this->getData(['theme', 'footer', 'margin'])) {
$css .= 'footer{padding:0 10px;}'; $css .= 'footer{padding:0 20px;}';
} else { } else {
$css .= 'footer{padding:0}'; $css .= 'footer{padding:0}';
} }

View File

@ -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() + "}"; 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 // Marge
if($("#themeFooterMargin").is(":checked")) { if($("#themeFooterMargin").is(":checked")) {
css += 'footer{padding: 0 10px;}'; css += 'footer{padding: 0 20px;}';
} }
else { else {
css += 'footer{padding:0}'; css += 'footer{padding:0}';

View File

@ -190,7 +190,7 @@
</div> </div>
<div class="col6"> <div class="col6">
<div id="themeFooterPositionOptions"> <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']) 'checked' => $this->getData(['theme', 'footer', 'margin'])
]); ?> ]); ?>
</div> </div>