-
AuthorPosts
-
June 18, 2015 at 5:57 pm #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
PeterJune 19, 2015 at 7:24 am #461704Hey 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,
RikardJune 23, 2015 at 1:38 pm #463345Helo 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 TourAnd after I click this link, lightobx is not opening (page reload to the given link).
What em I do wrong?
BR
PeterJune 24, 2015 at 12:04 pm #463939Hi!
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,
AndyJune 24, 2015 at 12:15 pm #463954Thank 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
PeterJune 25, 2015 at 11:27 am #464538Hi!
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,
AndyJune 25, 2015 at 2:16 pm #464564Thank 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
PeterJune 27, 2015 at 4:42 am #465172Hi!
Could you provide us with a link to the site in question so that we can take a closer look please?
Cheers!
RikardJuly 9, 2015 at 3:29 pm #470939Helo,
Did You receive access to my website? I send it few days ago.
Thank YouJuly 9, 2015 at 4:26 pm #470984Hi,
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!
RikardJuly 9, 2015 at 4:29 pm #470986Ok, i’ll put it here again (in private content section)
Thank YOuJuly 10, 2015 at 5:57 am #471272Hey!
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!
RikardJuly 12, 2015 at 10:44 pm #472104Helo,
how things are?
BR
PiotrJuly 13, 2015 at 5:42 pm #472578Hi!
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,
ElliottJuly 13, 2015 at 7:22 pm #472626Thank You,
Is there a option tu put this code in to child theme folders?July 14, 2015 at 3:40 pm #473245Hey!
Try this out, https://kriesi.at/support/topic/use-avia-js-in-child-theme/#post-230498.
Best regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.