Commit fd150f9d by Anoop

updates

parent 4526d53e
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2479,19 +2479,19 @@
<script type='text/javascript'
src='https://unacademy.com/content/wp-content/plugins/wpforms-lite/assets/js/integrations/elementor/frontend.min.js?ver=1.6.7.1'
id='wpforms-elementor-js'></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(".grid_swiper .card").addClass("swiper-slide")
function swiperHandler(){
function swiperHandler() {
var swiper = swiper;
var init = false;
let bigScreen = window.matchMedia('(min-width: 993px)');
let smallScreen = window.matchMedia('(max-width: 992px)');
if(bigScreen.matches){
if(!init){
let bigScreen = window.matchMedia('(min-width: 993px)');
let smallScreen = window.matchMedia('(max-width: 992px)');
if (bigScreen.matches) {
if (!init) {
init = true;
swiper = new Swiper('.grid_swiper', {
loop: false,
......@@ -2501,19 +2501,19 @@
grabCursor: true,
spaceBetween: 0,
mousewheelControl: true,
mousewheel:true,
freeMode:true,
mousewheel: true,
freeMode: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
},
});
document.querySelector(".grid_swiper").classList.remove("notActive")
}
}
if(smallScreen.matches){
}
if (smallScreen.matches) {
document.querySelector(".grid_swiper").classList.add("notActive")
if(init){
if (init) {
swiper.destroy();
init = false;
}
......@@ -2524,7 +2524,82 @@
// window.addEventListener(,swiperHandler());
function teamSliderHandler() {
var windowWidth = $(window).width();
var swiper = swiper;
if (windowWidth > 768) {
var sliderLength = $(".our-team-slider .team-item").length;
if (sliderLength > 3) {
//custom our team slider
$(".our-team-slider").addClass("slider_ready");
$(".team-container").removeClass("notActive");
swiper = Swiper('.our-team-slider', {
loop: false,
slidesPerView: 3,
paginationClickable: true,
spaceBetween: 0,
pagination: false,
// autoplay: {
// delay: 2000,
// },
// If we need pagination
// pagination: {
// el: '.swiper-pagination',
// clickable: false,
// },
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
breakpoints: {
320: {
slidesPerView: 1,
spaceBetween: 0,
navigation: false
},
480: {
slidesPerView: 1,
spaceBetween: 0,
navigation: false
},
640: {
slidesPerView: 2,
spaceBetween: 0,
navigation: false
},
1028: {
slidesPerView: 3,
spaceBetween: 0,
navigation: false
},
1240: {
slidesPerView: 3,
spaceBetween: 0,
navigation: true
},
1920: {
slidesPerView: 3,
spaceBetween: 0
}
}
});
} else {
$(".team-container").addClass("notActive");
}
} else {
$(".team-container").addClass("notActive");
swiper.destroy();
}
}
teamSliderHandler();
$(window).resize(teamSliderHandler);
</script>
</body>
......
......@@ -1375,6 +1375,10 @@ $margin_spacing_mobile: 50px;
}
.elementor-widget-text-editor {
margin: 0 !important;
padding-right: 67px;
@include md{
padding-right: 0;
}
.elementor-widget-container {
margin: 0 !important;
p {
......@@ -1591,12 +1595,11 @@ $margin_spacing_mobile: 50px;
}
&-header,
&-content {
padding: 40px 40px 33px 40px;
padding: 40px 40px 40px 40px;
margin: 0 !important;
}
&-header {
cursor: pointer;
font-size: 16px;
padding-right: 70px;
align-items: center;
display: flex;
......@@ -1635,7 +1638,7 @@ $margin_spacing_mobile: 50px;
}
&-content {
display: none;
font-size: 19px;
font-size: 16px;
color: #3c4852;
line-height: 1.6;
padding: 9px 40px 33px 40px;
......@@ -1657,8 +1660,37 @@ $margin_spacing_mobile: 50px;
padding: 9px 40px 33px 99px;
}
}
.no_ac{
.accordion-header{
cursor: text;
}
}
}
.faq-accordion{
.accordion-header, .accordion-content{
padding: 32px 32px 33px 32px;
}
.accordion-header{
font-size: 20px;
padding-bottom: 2px;
}
.accordion-content{
font-size: 14px;
padding: 9px 32px 33px 32px;
}
@include lg {
.accordion-header{
font-size: 20px !important;
}
.accordion-content{
font-size: 14px;
}
}
}
// Others Edits
.admin-bar .head_main {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment