Merge branch '11200' of https://forge.chapril.org/ZwiiCMS-Team/ZwiiCMS into 11200
This commit is contained in:
commit
4aa5938953
@ -2276,15 +2276,16 @@ class core extends common {
|
||||
$css .= 'header{margin:20px 20px 0 20px}';
|
||||
}
|
||||
}
|
||||
if ($this->getData(['theme','header','feature']) === 'wallpaper' ) {
|
||||
// Couleur du fonc
|
||||
$colors = helper::colorVariants($this->getData(['theme', 'header', 'backgroundColor']));
|
||||
$css .= 'header{background-size:' . $this->getData(['theme','header','imageContainer']).'}';
|
||||
$css .= 'header{background-color:' . $colors['normal'];
|
||||
$css .= 'header{background-color:' . $colors['normal'].'}';
|
||||
|
||||
if ($this->getData(['theme','header','feature']) === 'wallpaper' ) {
|
||||
|
||||
$css .= 'header{background-size:' . $this->getData(['theme','header','imageContainer']).';}';
|
||||
|
||||
// Valeur de hauteur traditionnelle
|
||||
$css .= ';height:' . $this->getData(['theme', 'header', 'height']) . ';line-height:' . $this->getData(['theme', 'header', 'height']) ;
|
||||
|
||||
$css .= ';text-align:' . $this->getData(['theme', 'header', 'textAlign']) . '}';
|
||||
$css .= 'header{height:' . $this->getData(['theme', 'header', 'height']) . ';line-height:' . $this->getData(['theme', 'header', 'height']) . ';text-align:' . $this->getData(['theme', 'header', 'textAlign']) . '}';
|
||||
if($themeHeaderImage = $this->getData(['theme', 'header', 'image'])) {
|
||||
$css .= 'header{background-image:url("../file/source/' . $themeHeaderImage . '");background-position:' . $this->getData(['theme', 'header', 'imagePosition']) . ';background-repeat:' . $this->getData(['theme', 'header', 'imageRepeat']) . '}';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user