1
0
This commit is contained in:
2026-04-15 17:35:22 +08:00
parent 188f5274fe
commit d6dc28f62c
140 changed files with 3464 additions and 3137 deletions

View File

@@ -95,7 +95,15 @@
}
}
// DATA BACKGROUND IMAGE
var sliderBgSetting = $(".slide-bg-image");
sliderBgSetting.each(function(indx){
if ($(this).attr("data-background")){
$(this).css("background-image", "url(" + $(this).data("background") + ")");
}
});
// HERO SLIDER
if (typeof Swiper === "function" && jQuery(".swiper-container").length) {
var menu = [];
@@ -155,14 +163,6 @@
var swiper = new Swiper(".swiper-container", swiperOptions);
}
// DATA BACKGROUND IMAGE
var sliderBgSetting = $(".slide-bg-image");
sliderBgSetting.each(function(indx){
if ($(this).attr("data-background")){
$(this).css("background-image", "url(" + $(this).data("background") + ")");
}
});
/*------------------------------------------
@@ -433,11 +433,11 @@
items: 3
},
1200 : {
items: 4
}
}
});
992 : {
items: 4
}
}
});
}