Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #461485

    Helo again :)
    On my website I have a button element which link to video on Vimeo and after click it opens in beautifull lightbox.
    But when I create the link to the same video in text editor, put all classes from button to this link, it’s not open in lightbox. Why?
    I found few post in support forum but they look’s very difficult (instal plugin, modify function.php). I think it must be easier way.
    Thank You
    BR
    Peter

    #461704

    Hey pedronx!

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.

    Regards,
    Rikard

    #463345

    Helo Rikard,
    This is the code of button added as enfold element (drag & drop):
    <span class=”avia_iconbox_title”>Watch Our Video Tour</span><span class=”avia_button_icon avia_button_icon_right” aria-hidden=”true” data-av_icon=”” data-av_iconfont=”entypo-fontello”></span>

    It’s open a link (movie on vimeo) in lightbox. That’s great.

    I copy class names to my custom link added to text editor in post:
    Watch Our Video Tour

    And after I click this link, lightobx is not opening (page reload to the given link).

    What em I do wrong?
    BR
    Peter

    #463939

    Hi!

    You can add something like this on a text block element, switch to HTML or Text editor:

    <a href="https://kriesi.at/support/topic/open-lightbox-from-text-url-in-text-editor/?iframe=true&width=100%&height=100%" rel="prettyPhoto[iframes]" title="Kriesi Rocks">Click Here</a>
    

    I used the url of this topic then added the “?iframe=true&width=100%&height=100%” parameter after. Please try it.

    Regards,
    Andy

    #463954

    Thank You Andy!
    It works, but only in content of the page. I need to put this link in to the extra element in header – but there it not working.
    BR
    Peter

    #464538

    Hi!

    of course it shows inside of the content when you put it in the content :). To show it in the header instead you would need to add widget area to the header. Inside of this widget you can use the code I provided to you.

    Regards,
    Andy

    #464564

    Thank You!
    Close (ps. great solution) :)
    Now it puts the link after the menu. I need it after the logo tag: <strong class=”logo”><span class=”subtext”></span>
    and my link should go now.
    ps.
    link didn’t open in lightbox right now.
    BR
    Peter

    #465172

    Hi!

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Cheers!
    Rikard

    #470939

    Helo,
    Did You receive access to my website? I send it few days ago.
    Thank You

    #470984

    Hi,

    Sorry about that, did you email it somewhere? Please post any details you want us to have here in the thread, you can post it in the Private Content section of your reply if you don’t want to display it publicly.

    Cheers!
    Rikard

    #470986

    Ok, i’ll put it here again (in private content section)
    Thank YOu

    #471272

    Hey!

    I couldn’t work out how to open the video in a lightbox but I’ve asked the rest of the team to have a look too. Please wait for their answer/answers.

    Cheers!
    Rikard

    #472104

    Helo,
    how things are?
    BR
    Piotr

    #472578

    Hi!

    Open up /enfold/js/avia.js and around line 896 you should see this.

    groups			:	['.avia-slideshow', '.avia-gallery', '.isotope', '.post-entry', '.sidebar', '#main', '.main_menu'], 
    

    Change it to this.

    groups			:	['.avia-slideshow', '.avia-gallery', '.isotope', '.post-entry', '.sidebar', '#main', '.main_menu', '.phone-info'], 
    

    And remove the “lightbox-added” class from the button HTML as well.

    Regards,
    Elliott

    #472626

    Thank You,
    Is there a option tu put this code in to child theme folders?

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