mise au point theme
This commit is contained in:
parent
e247c30ed0
commit
0326c3d517
@ -123,7 +123,7 @@ $("input, select").on("change", function() {
|
||||
}
|
||||
|
||||
// Disposition des items du menu
|
||||
if ($("#themeMenuWide").val() === 'none') {
|
||||
if ($("#themeMenuWide").val() === 'none' || $("#themeMenuPosition").val() === 'site-first' || $("#themeMenuPosition").val() === 'site-second') {
|
||||
$("#menu").removeClass();
|
||||
} else {
|
||||
$("#menu").addClass("container");
|
||||
@ -144,8 +144,9 @@ $("input, select").on("change", function() {
|
||||
}
|
||||
}
|
||||
|
||||
// Visibilité du select 'disposition' si le menu est en dehors du site
|
||||
if( $("#themeMenuPosition").val() === 'top' ) {
|
||||
// Visibilité du select 'disposition'
|
||||
if( <?php echo json_encode($this->getData(['theme', 'site', 'width']) !== '100%'); ?> && ( $("#themeMenuPosition").val() === 'top' || ( <?php echo json_encode($this->getData(['theme', 'header', 'wide']) === 'none'); ?>
|
||||
&& ( $("#themeMenuPosition").val() === 'body-first' || $("#themeMenuPosition").val() === 'body-second')) ) ) {
|
||||
$(".themeMenuWideWrapper").show();
|
||||
} else {
|
||||
$(".themeMenuWideWrapper").hide();
|
||||
|
Loading…
Reference in New Issue
Block a user