Home Forums Support Flickity

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1173996
    Bryan

    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.

    #1174024
    Leo
    Staff
    Customer Support

    Hi there,

    Not quite sure if I understand.

    Can you explain a bit more and maybe link us to the page in question?

    #1174031
    Bryan
    #1174046
    Leo
    Staff
    Customer Support

    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?

    #1174050
    Bryan

    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.

    #1174052
    Leo
    Staff
    Customer Support

    Sounds good. If it somehow doesn’t work, it would be good to check with the code author.

    #1174058
    Bryan

    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!

    #1174640
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.