]> _ Git - physioassist-wordpress.git/commitdiff
Carousel adjustments to scroll full sets of items instead of one-by-one. Wait #3470...
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 18 Mar 2020 15:59:33 +0000 (15:59 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 18 Mar 2020 15:59:33 +0000 (15:59 +0000)
wp-content/themes/physioassist/resources/views/widgets/profile-carousel.blade.php
wp-content/themes/physioassist/resources/views/widgets/resource-carousel.blade.php
wp-content/themes/physioassist/resources/views/widgets/text-carousel.blade.php
wp-content/themes/physioassist/resources/views/widgets/video-gallery-carousel.blade.php

index 59869fc643946ae91ca555a3a0fa730bc252291d..8462008cc071684b40949b12105f5601734458b1 100644 (file)
@@ -2,26 +2,29 @@
 @php
   $settings = [
     'slidesToShow' => 4,
-    'slidesToScroll' => 1,
+    'slidesToScroll' => 4,
     'dots' => count($items) > 4, // Only show dots when there are enough items
     'infinite' => true,
     'responsive' => [
       [
         'breakpoint' => 1300,
         'settings' => [
-          'slidesToShow' => 3
+          'slidesToShow' => 3,
+          'slidesToScroll' => 3,
         ]
       ],
       [
         'breakpoint' => 850,
         'settings' => [
-          'slidesToShow' => 2
+          'slidesToShow' => 2,
+          'slidesToScroll' => 2,
         ]
       ],
       [
         'breakpoint' => 650,
         'settings' => [
-          'slidesToShow' => 1
+          'slidesToShow' => 1,
+          'slidesToScroll' => 1,
         ]
       ],
     ]
index 43d8908e876d1d44260dd5d0382842572cb3ee13..50ce0adb9247e39cb88cf2ae921d7b36476332e3 100644 (file)
@@ -2,20 +2,22 @@
 @php
   $settings = [
     'slidesToShow' => 3,
-    'slidesToScroll' => 1,
+    'slidesToScroll' => 3,
     'dots' => count($items) > 3, // Only show dots when there are enough items
     'infinite' => true,
     'responsive' => [
       [
         'breakpoint' => 1300,
         'settings' => [
-          'slidesToShow' => 2
+          'slidesToShow' => 2,
+          'slidesToScroll' => 2,
         ]
       ],
       [
         'breakpoint' => 850,
         'settings' => [
-          'slidesToShow' => 1
+          'slidesToShow' => 1,
+          'slidesToScroll' => 1,
         ]
       ],
     ]
index 2b0fa4f847af136074fe1d6927edfa56f0419701..26608b330df6e9e47e6fb41490f044e037f732d3 100644 (file)
@@ -2,26 +2,29 @@
 @php
   $settings = [
     'slidesToShow' => 4,
-    'slidesToScroll' => 1,
+    'slidesToScroll' => 4,
     'dots' => count($items) > 4, // Only show dots when there are enough items
     'infinite' => true,
     'responsive' => [
       [
         'breakpoint' => 1400,
         'settings' => [
-          'slidesToShow' => 3
+          'slidesToShow' => 3,
+          'slidesToScroll' => 3,
         ]
       ],
       [
         'breakpoint' => 1100,
         'settings' => [
-          'slidesToShow' => 2
+          'slidesToShow' => 2,
+          'slidesToScroll' => 2,
         ]
       ],
       [
         'breakpoint' => 850,
         'settings' => [
-          'slidesToShow' => 1
+          'slidesToShow' => 1,
+          'slidesToScroll' => 1,
         ]
       ],
     ]
index bd3408a5c30d7860c73e20055b61ead25bbb27fd..47629db420c5702cbb0978aa602cc5c7a28d631a 100644 (file)
@@ -2,20 +2,22 @@
 @php
   $settings = [
     'slidesToShow' => 4,
-    'slidesToScroll' => 1,
+    'slidesToScroll' => 4,
     'dots' => count($videos) > 4, // Only show dots when there are enough videos
     'infinite' => true,
     'responsive' => [
       [
         'breakpoint' => 1025,
         'settings' => [
-          'slidesToShow' => 2
+          'slidesToShow' => 2,
+          'slidesToScroll' => 2,
         ]
       ],
       [
         'breakpoint' => 700,
         'settings' => [
-          'slidesToShow' => 1
+          'slidesToShow' => 1,
+          'slidesToScroll' => 1,
         ]
       ],
     ]