Slider Image for Discourse


(Nigrin D Jay) #1

Hello everyone -
I’m wondering if anyone was able to perform a carousel that looks like this with the larger center image and overlapping the smaller ones on the sides of the last topics or something coupled? If so, would you be so kind as to provide?

0e12cb1b211d3e1699a45f9872f1f17578dc5f9a_1_690x251

or

or

or

or

I hope someone knows.

Thank you all!


(Bhanu Sharma) #2

Use the existing banner theme code from here:

https://meta.discourse.org/t/banner-themes-and-instructions-for-customizing-them/82368/61

And alter the code inside them match your slider code.

or else,

Add your slider code to After Header section of customize HTML/CSS


(Nigrin D Jay) #3

Hi,

But this code does not pull data from posts, it has to feed manually.


#4

Check out the Topic List Previews plugin that has a similar feature. If not quite a ‘carousel’, it is scrollable and dynamic based on tagged topics so very close to your requirement. Turning this into a full blown ‘carousel’ might not be that hard …