Hi, I am starting with Deliver theme. In my fresh GRAV installation, everything seems to work fine but the slideshow on the homepage.
I am using the sample Deliver pages and modify them to suit my data. However, the slideshow does not work even with the original 01.home. The slideshow should display four images, one after another. Instead, the images are displayed at once, one below the other.
Javascript object is filled in template ‘/themes/deliver/templates/modular/showcase.html.twig’ and reads the following values from ‘site.yaml’…
header_options:
arrows: 'true' # Create Next and previous button
autoslide: 'false' # Auto slideshow mode
autoslideHoverStop: 'false' # Pause auto slideshow mode on mouseover
interval: '2000' # The interval between each slide (Interval in millisecond)
loop: false # Infinite slideshow
transition : zoom # Set the animation kind (fade/slide/page/zoom)
itemsForSlide: '0' # Wrap each 'n' item
touch: 'true' # Set a native slide for touch device
swipe : 'true' # Enable swipe for touch device
Solution:
Copy the above values into ‘user/config/site.yaml’ of your own site and it should work.
pamtbaau, huge thanks for your time, the piece of code you have posted is way beyond my level of knowledge. The slideshow works (yay!), the only thing that needed fixing was adding inverted commas (`) around false in loop. Without those, it thew another error.