Largeur de la page sans la marge à droite
This commit is contained in:
parent
0c1c3a7423
commit
a1e274537e
@ -62,7 +62,7 @@
|
||||
<?php
|
||||
$headerClass = $this->getData(['theme', 'header', 'position']) === 'hide' ? 'displayNone' : ' ';
|
||||
$headerClass .= $this->getData(['theme', 'header', 'tinyHidden']) ? ' bannerDisplay ' : ' ';
|
||||
$headerClass .= $this->getData(['theme', 'header', 'container']);
|
||||
$headerClass .= $this->getData(['theme', 'header', 'container']) === 'none' ? '' : 'container';
|
||||
?>
|
||||
<header class="<?php echo $headerClass;?>">
|
||||
<?php echo ($this->getData(['theme','header','linkHomePage']) && $this->getData(['theme','header','feature']) === 'wallpaper' ) ? '<a href="' . helper::baseUrl(false) . '">' : ''; ?>
|
||||
|
@ -71,7 +71,7 @@ class theme extends common {
|
||||
];
|
||||
public static $containers = [
|
||||
'container' => 'Du site',
|
||||
'' => 'De la page'
|
||||
'none' => 'De la page'
|
||||
];
|
||||
public static $footerblocks = [
|
||||
1 => [
|
||||
|
@ -169,12 +169,10 @@ $("input, select").on("change", function() {
|
||||
// Largeur du header
|
||||
switch ($("#themeHeaderContainer").val()) {
|
||||
case "container":
|
||||
$("header").removeClass("container-large");
|
||||
$("header").addClass("container");
|
||||
break;
|
||||
case "container-large":
|
||||
case "none":
|
||||
$("header").removeClass("container");
|
||||
$("header").addClass("container-large");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user