Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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-84986

    I 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 8 years, 8 months ago by xuamox.
    #607681

    Hey 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,
    Andy

    #607962

    I edited my question to try and be more specific and clear as to what I am trying to do. Thanks.

    #607987

    OK, 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 8 years, 8 months ago by xuamox.
    #608844

    Hey!

    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

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