Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #435278

    Hey, i want to reconfigure the behaviour of the pictures on our pages – any idea where i can do it? Something like Lightbox 2.
    Thank you.

    #435634

    Hi Alex!

    If there is a plugin with the lightbox you want to use then it should work fine once activated.

    You can disable the magnific script (which is what we use) on line 893 in the /enfold/js/avia.js file.

    autolinkElements:   'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',
    

    I didn’t test it out but you could try changing it to this.

    autolinkElements:   '',
    

    Cheers!
    Elliott

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