Skip to content

Commit 3508c0a

Browse files
authored
Merge pull request #344 from athemes/bugfix/rt/elementor-loop-slider
Elementor loop slider padding issue
2 parents 3dff483 + 293d5c8 commit 3508c0a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

inc/plugins/elementor/elementor.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ public function add_enhanced_global_inline_style() {
110110
padding-left: 15px;
111111
padding-right: 15px;
112112
}
113+
114+
.swiper-slide .e-con.e-parent>.e-con-inner {
115+
padding-left: 0;
116+
padding-right: 0;
117+
}
113118
}
114119
115120
@media(max-width: 1024px) {
@@ -138,7 +143,7 @@ public function add_enhanced_global_inline_style() {
138143
margin-top: 80px;
139144
}
140145
141-
div[data-elementor-type] {
146+
div[data-elementor-type]:not(.swiper-slide) {
142147
width: 100% !important;
143148
max-width: 100% !important;
144149
}

0 commit comments

Comments
 (0)