Skip to content

Commit ccf69a3

Browse files
committed
changed carousel settings
1 parent e2fe0da commit ccf69a3

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

_site/css/main.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2686,6 +2686,8 @@ section { padding: 60px 0; overflow: hidden; }
26862686

26872687
#sponsorship .image-container { height: 330px; }
26882688

2689+
.slick-slide { padding: 0 25px 0 25px; }
2690+
26892691
@media (max-width: 992px) { #sponsorship { height: 100%; }
26902692
#sponsorship img { width: 345px; }
26912693
#sponsorship .image-container { height: 245px; } }

assets/js/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@
156156
autoplaySpeed: 2000,
157157
arrows: false,
158158
pauseOnHover: false,
159+
centerMode: true,
160+
variableWidth: true,
159161
initialSlide: randomFirstSlide(),
160162
responsive: [
161163
{

css/custom/_style.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,10 @@ section {
13181318
height: 330px;
13191319
}
13201320

1321+
.slick-slide {
1322+
padding: 0 25px 0 25px;
1323+
}
1324+
13211325
@media (max-width: 992px) {
13221326
#sponsorship {
13231327
height: 100%;

0 commit comments

Comments
 (0)