forked from ZwiiCMS-Team/ZwiiCMS
[9.0.01] hauteur du footer hors site
This commit is contained in:
parent
dc7af6ec3d
commit
99fa0b0b91
@ -1266,6 +1266,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{margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||
$css .= 'footer .container-large > div{margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||
$css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}';
|
||||
$css .= '#footerText{text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
||||
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
||||
|
@ -79,10 +79,10 @@ class theme extends common {
|
||||
];
|
||||
public static $footerHeights = [
|
||||
'0px' => 'Très petite',
|
||||
'5px' => 'Petite',
|
||||
'10px' => 'Moyenne',
|
||||
'15px' => 'Grande',
|
||||
'20px' => 'Très grande'
|
||||
'10px' => 'Petite',
|
||||
'20px' => 'Moyenne',
|
||||
'35px' => 'Grande',
|
||||
'40px' => 'Très grande'
|
||||
];
|
||||
public static $footerPositions = [
|
||||
'hide' => 'Cachée',
|
||||
|
@ -22,9 +22,9 @@ $("input, select").on("change", function() {
|
||||
css += "footer a{color:" + textColor + "}";
|
||||
// Hauteur du pied de page
|
||||
css += "footer .container > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||
css += "footer .container > div{padding:0}";
|
||||
//css += "footer .container > div{padding:0}";
|
||||
css += "footer .container-large > div{margin:" + $("#themeFooterHeight").val() + " 0}";
|
||||
css += "footer .container-large > div{padding:0}";
|
||||
//css += "footer .container-large > div{padding:0}";
|
||||
// Alignement du contenu
|
||||
css += "#footerSocials{text-align:" + $("#themeFooterSocialsAlign").val() + "}";
|
||||
css += "#footerText{text-align:" + $("#themeFooterTextAlign").val() + "}";
|
||||
|
Loading…
Reference in New Issue
Block a user