Skip to content

Commit 3862ce1

Browse files
Anil KommareddiCopilot
andcommitted
Slider: slow transition to 1.8s, increase delay to 7s, remove arrows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8037edc commit 3862ce1

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,6 @@ <h2 class="ore-slide-title">ORE is Always Evolving</h2>
248248
</div>
249249

250250
</div>
251-
<div class="swiper-button-next"></div>
252-
<div class="swiper-button-prev"></div>
253251
<div class="swiper-pagination"></div>
254252
</div>
255253
<!-- Swiper JS (replaces Revolution Slider) -->
@@ -292,7 +290,6 @@ <h2 class="ore-slide-title">ORE is Always Evolving</h2>
292290
transition:background .2s,color .2s;
293291
}
294292
.ore-slide-btn:hover { background:#fff; color:#000 !important; }
295-
.swiper-button-next,.swiper-button-prev { color:#fff; }
296293
.swiper-pagination-bullet-active { background:#fff; }
297294
@media(max-width:768px){
298295
.ore-slide-content { margin-left:20px; margin-right:20px; }
@@ -301,9 +298,9 @@ <h2 class="ore-slide-title">ORE is Always Evolving</h2>
301298
}
302299
</style>
303300
<script>
304-
new Swiper('.ore-hero-slider',{loop:true,autoplay:{delay:6000,disableOnInteraction:false},
301+
new Swiper('.ore-hero-slider',{loop:true,autoplay:{delay:7000,disableOnInteraction:false},
302+
speed:1800,
305303
effect:'fade',fadeEffect:{crossFade:true},
306-
navigation:{nextEl:'.swiper-button-next',prevEl:'.swiper-button-prev'},
307304
pagination:{el:'.swiper-pagination',clickable:true}});
308305
</script>
309306
<!-- END REVOLUTION SLIDER -->

0 commit comments

Comments
 (0)