Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #485921

    Hi – I need to open a video in a lightbox window from a link in the header.

    I’ve tried adding a text link as a menu item with and without adding ‘lightbox’ to the rel box. I gave up and tried overlaying a small image over the header with a straight youtube link but no joy. I’ve tried disabling lightbox form the theme options and using a third party plugin but again no joy.

    The lightbox is definitely working as video links in posts and pages work fine.

    Is there something stopping lightbox code working from the header block?

    Many thanks,

    Jon.

    • This topic was modified 9 years, 3 months ago by kops.
    #486042

    Hi kops!

    Send us a link to your page and we’ll take a look. You can set your reply as private if you wish.

    Be sure to deactivate all plugins while testing.

    Best regards,
    Elliott

    #486396

    Hi Elliot – details below :)

    #486660

    Hey!

    Try opening up /enfold/js/avia.js and change line 1010 from this.

    var links = $(options.autolinkElements, this);
    

    To this.

    var links = $(options.autolinkElements, jQuery('body'));
    

    Regards,
    Elliott

    #486760

    You rock. Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Cannot open lightbox from header.’ is closed to new replies.