-
AuthorPosts
-
April 4, 2016 at 12:19 am #607296
Hi, is there a way to have an enfold button (button from content elements) open a lightbox where I could embed url content or iframe?
I want the button to open this link to a virtual tour: https://round.me/tour/37592/view/91423/
However, it would be great if it could open it up in a lightbox with embedded content rather than a new window or same window
I tried this option, but it is not working for me:
https://kriesi.at/support/topic/using-button-shortcode-to-open-a-video-in-a-lightbox/#post-84986I tried this code to recreate the button, and it is triggering the lightbox, but the lightbox is not pulling in the content
<div class=”avia-button-wrap avia-button-left avia-builder-el-19 el_after_av_button el_before_av_textblock “><span class=”avia_iconbox_title”>360 Virtual Tour</span></div>Thanks.
-
This topic was modified 9 years, 7 months ago by
xuamox.
April 4, 2016 at 3:41 pm #607681Hey xuamox!
not sure what you need, but you could just use a normal button to link to your photo gallery, don’t you? Though is sounds to me as you would need to search for a plugin with such a special function you need.
Best regards,
AndyApril 5, 2016 at 12:07 am #607962I edited my question to try and be more specific and clear as to what I am trying to do. Thanks.
April 5, 2016 at 2:01 am #607987OK, I did some more digging in the forums and it looks like ?iframe=”true” added to url field of the button element will open the lightbox.
So thanks for that update, that works well.
My only issue now is that the lightbox displays the next and previous arrows. Is there any way to hide those?
-
This reply was modified 9 years, 7 months ago by
xuamox.
April 6, 2016 at 11:42 am #608844Hey!
glad you could solve it!
Use this code to hide the arrows:
button.mfp-arrow.mfp-arrow-right.mfp-prevent-close { display: none; } button.mfp-arrow.mfp-arrow-left.mfp-prevent-close { display: none; }Regards,
Andy -
This topic was modified 9 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
