Uikit slideshow transitions

Hey Thierry,

Hope you're well. Just made a uikit slideshow for my site but can't seem to get any transitions working (other than 'fade'). Is this because I need to load a javascript for the advanced transitions and if so how would I do that in beans exactly?

Cheers Jason

Hey Jason,

You are correct that you need to add the slideshow-fx UIkit component which is not automatically loaded with the slideshow components since it is only used for advance transitions.

Note that the slideshow-fx is an add-ons so it should be enqueued as such beans_uikit_enqueue_components( array( 'slideshow', 'slideshow-fx' ), 'add-ons' ); in a beans_uikit_enqueue_scripts callback function indeed.

Happy coding,

Write a reply

Login or register to write a reply, it's free!