okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
250 stars 133 forks source link

Feature request: Slideshow/carousel Fragment #839

Open ccamara opened 3 years ago

ccamara commented 3 years ago

Thanks for this versatile theme! While I have not yet used it on production, I have read the thorough documentation that you have created and I am gladly surprised about the number of available fragments. However, I have not found a way to implement image slideshows or carousels like these: https://getbootstrap.com/docs/4.0/components/carousel/ , with a big image, text, call to action... (Embed fragment seems to be the closest, but it only displays static media)

Would it be possible to add this feature to make it even greater?

stp-ip commented 3 years ago

Slideshows usually are problematic on mobile views and as such we never implemented such a fragment. Usually what you want to present could be done with the item, items or portfolio fragment.

We are happy to have someone contribute this or hear about specific use cases to learn, why this can't be done differently. :)

Chevindu commented 3 years ago

I believe you can use something like Flickity to get it done. I used it to implement carousels in a Hugo blog (using a different theme), with the help of a custom Hugo shortcode. I'm sure you can find many carousel plugins that play well with Syna.

boastful-inaba commented 3 years ago

In my case, I'd be very interested a carousel or advancing slideshow feature. I'd love to have the "item" fragment be able to cycle through more than one picture automatically as an in-depth illustration of what's in the text without having to dedicate major page space to the pictures themselves. Right now it's one picture per item text area, which is a little annoying.