Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #246183

    I’m using Easy Fancybox for my lightbox needs, and I’m trying to figure out how to turn off the theme default lightbox.
    I am running into an issue with youtube videos in particular.

    I want to lightbox out a small youtube video, with easy fancybox, but whenever I click on the link I’ve created it opens both the fancybox AND the lightbox supplied with the theme.

    My main question is:

    Is there a way to turn off the lightbox that is supplied with the theme.

    Reference for this issue in case what I said above doesn’t make sense:
    http://gyazo.com/3b6ba7b37f57295588699b1417ae9529
    The background video is the one supplied by the theme I would like to get rid of, the foreground is the fancybox I’d like to keep.

    This is the code I’m using:
    http://gyazo.com/31c0b1724eb3e9077d89eed65431aa5a

    Hope this is enough information

    #246189

    Hi!

    Try using this child theme: http://www.mediafire.com/?05ho02ecut516hu which deactivates the standard lightbox.

    Regards,
    Josue

    #246611

    I have A LOT of stuff already in my child theme (code etc)
    is it possible just to copy and paste the necessary code from functions.php and put it into my functions.php file?
    I can of course ADD fancybox to the child theme section as well.

    I’m assuming this would work fine, I just want to be sure to ensure I don’t break the site (as I have editing the functions.php file before)

    #246618

    Hey!

    Sure, you can use that theme only as a reference (check avia_register_child_frontend_scripts function).

    Best regards,
    Josue

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