Browse code

Progress

Benjamin Roth authored on15/11/2022 16:38:13
Showing3 changed files
... ...
@@ -37,7 +37,7 @@
37 37
       "slidesPerColumn": 2,
38 38
       "slidesPerColumnFill": 'row',
39 39
       "slidesPerView": 6,
40
-      "slidesPerGroup": 12,
40
+      "slidesPerGroup": 6,
41 41
       "spaceBetween": 5,
42 42
       "effect": "slide",
43 43
       "navigation": {
... ...
@@ -47,33 +47,33 @@
47 47
       "breakpoints": {
48 48
         1980: {
49 49
           "slidesPerView": 6,
50
-          "slidesPerGroup": 12,
50
+          "slidesPerGroup": 6,
51 51
           "slidesPerColumn": 2,
52 52
         },
53 53
         1650: {
54 54
           "slidesPerView": 5,
55
-          "slidesPerGroup": 10,
55
+          "slidesPerGroup": 5,
56 56
           "slidesPerColumn": 2,
57 57
         },
58 58
         1320: {
59 59
           "slidesPerView": 4,
60
-          "slidesPerGroup": 8,
60
+          "slidesPerGroup": 4,
61 61
           "slidesPerColumn": 2,
62 62
         },
63 63
         990: {
64 64
           "slidesPerView": 3,
65
-          "slidesPerGroup": 6,
65
+          "slidesPerGroup": 3,
66 66
           "slidesPerColumn": 2,
67 67
         },
68 68
         660: {
69 69
           "slidesPerView": 2,
70
-          "slidesPerGroup": 4,
71
-          "slidesPerColumn": 2,
70
+          "slidesPerGroup": 2,
71
+          "slidesPerColumn": 1,
72 72
         },
73 73
         0: {
74 74
           "slidesPerView": 1,
75
-          "slidesPerGroup": 2,
76
-          "slidesPerColumn": 2,
75
+          "slidesPerGroup": 1,
76
+          "slidesPerColumn": 1,
77 77
         }
78 78
       }
79 79
     })</script>
... ...
@@ -828,4 +828,12 @@
828 828
       margin-top: 0.25em;
829 829
     }
830 830
   }
831
+
832
+  @include for-max-size(989px) {
833
+    .nav-holder {
834
+      position: relative;
835
+      top: auto;
836
+      height: 50px;
837
+    }
838
+  }
831 839
 }
832 840
\ No newline at end of file
... ...
@@ -86,8 +86,8 @@ if ((count($imageFiles) || count($videoFiles)) && $this->backgroundPosition) {
86 86
 <?php endif; ?>
87 87
 
88 88
 
89
-<?php if ($minHeight): ?>
89
+<?php /* if ($minHeight): ?>
90 90
   <style>.hero-wrapper_<?= $this->id ?>:before { content: ""; display: table; padding-top: <?= $minHeight ?>; float: left; }</style>
91
-<?php endif; ?>
91
+<?php endif; */ ?>
92 92
 </div>
93 93
 <?php $this->endblock(); ?>