Archived topic
Flickity
7 replies · Started by Bryan on February 22, 2020
I've added the Flickity CSS to my website using Simple CSS. I do not quite understand how to add the js Hook and get it working... any help would be appreciated.
Hi there,
Not quite sure if I understand.
Can you explain a bit more and maybe link us to the page in question?
CSS can be added using one of these methods:
https://docs.generatepress.com/article/adding-css/
JS can usually go into wp_footer hook in hooks element:
https://docs.generatepress.com/article/hooks-element-overview/
Is that for a slider? If so perhaps a plugin like Smart Slider 3 would be easier to use?
While doing some more research about the slider on CSS Tricks, I discovered exactly what you just told me. I have been putting the JS into the wrong place. I will get back to you.
Sounds good. If it somehow doesn't work, it would be good to check with the code author.
I was able to get it. My own fault for not putting the JS Hook in the Footer. Thank you for your very quick help!
No problem :)