The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Change Fancybox Effect? (4 posts)

  1. chrislowthian
    Posted 4 years ago #


    I have been looking at the Fancybox options here: http://fancybox.net/home

    I would like to change the Instapress Fancybox so it uses the elastic animation and displays the Title Position Inside.

    I have looked around the Instapress Files but not sure where I need to make the changes? any ideas?

    Thanks in Advance!


  2. liechtenecker
    Plugin Author

    Posted 3 years ago #

    Hello Chris

    Fancybox gets initiated in instapress.js in the plugin's root folder (function initFancybox())

    Hope that's what you're searching for :)

  3. chrislowthian
    Posted 3 years ago #

    Still not sure how to change the effects though?

    Is it this part that needs editing in some way?

    function initFancyBox()
    			$('.instagram-image a[rel=instagram-images],.instapress-shortcode a[rel=instagram-sc-images]').fancybox();

    I have edited the following file: jquery.fancybox-1.3.4.js and changed the following values:
    titleShow : true,
    titlePosition : 'inside',
    transitionIn : 'elastic',
    transitionOut : 'elastic',

    But that has not made a difference.

    I have also read up on the Fancybox website but their examples are not like your coding.

  4. liechtenecker
    Plugin Author

    Posted 3 years ago #

    Hi Chris,

    yes, that's the part I meant.
    Can you please post your whole code for that part? That would be very helpful :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Instapress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic