fancyBox 2 for NexT
If you want fancybox v3, please go to theme-next-fancybox3
$ rm -rf themes/next/source/lib/fancybox
Change dir to NexT directory. There must be layout
, source
, languages
and other directories:
$ cd themes/next
$ ls
bower.json _config.yml docs gulpfile.coffee languages layout LICENSE.md package.json README.md scripts source test
Install module to source/lib
directory:
$ git clone https://github.com/theme-next/theme-next-fancybox source/lib/fancybox
Enable module in NexT _config.yml
file:
fancybox: true
$ cd themes/next/source/lib/fancybox
$ git pull