Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #904421

    I have a button in our footer that launches a lightbox with our contact form page in it using the following code.

    [av_button label='START THE CONVERSATION' link='manually,https://www.rotatorcreative.com/home/contact-form?&preview=true/page?iframe=true' link_target='' size='medium' position='left' icon_select='no' icon='ue800' font='entypo-fontello' custom_class='opacity']

    The problem is that on every page that has a lightbox action in the page such as a video or image, the contact form shows up at the end of the lightbox items via the side arrows.

    If I get rid of this portion of code ?&preview=true/page?iframe=true’ it fixes the other pages but then the button in the footer goes to the page instead of putting it into a lightbox.

    Is there something I can put in the footer widget code above that would make it?

    Thanks

    #905178

    Hey Scott,

    Could we see such a page, so we can be able to understand the problem please?

    Best regards,
    Basilis

    #905182

    Sure,

    Here are a couple of pages

    http://www.rotatorcreative.com/work/prairie-line-trail/
    halfway down the page both “WATCH VIDEO” images launch a light box and for some reason the form will also show up via the arrows

    http://www.rotatorcreative.com/work/
    Bottom red box will cycle through both contact forms

    Basically any page we launch a lightbox will cause the contact form to show up as an additional element accessed by the left and right arrows

    Thanks!

    • This reply was modified 6 years, 10 months ago by scottvarga.
    #905783

    Hi,

    Add to your CSS
    .mfp-arrow { display: none; }

    and it should be OK!

    Best regards,
    Basilis

    #905868

    I added that to the Quick CSS field but it didn’t do anything?

    #906689

    Hi,

    Please try to replace the “start the conversation” button markup or shortcode with this.

    
    <div class="avia-button-wrap avia-button-left  opacity"><a data-rel="gallery-2" href="https://www.rotatorcreative.com/home/contact-form?&preview=true/page?iframe=true" class="avia-button   avia-icon_select-no avia-color-theme-color avia-size-medium avia-position-left  mfp-iframe lightbox-added"><span class="avia_iconbox_title">START THE CONVERSATION</span></a></div>
    

    Best regards,
    Ismael

    #906965

    When I use that code the button then opens the form on its own page and not in a lightbox. We want it to open it in a lightbox.

    Thanks

    #907405

    Hi scottvarga,

    The button seems to open in the lightbox. Could you please clear the cache, check again and get back to us.

    Best regards,
    Victoria

    #907564

    It opens in the lightbox because I put my old code back in not the code provided above as that code made it open in a separate page.

    #907663

    Hi,

    I forgot to remove the lightbox class attribute. Please try it again.

    
    <div class="avia-button-wrap avia-button-left  opacity"><a data-rel="gallery-2" href="https://www.rotatorcreative.com/home/contact-form?&preview=true/page?iframe=true" class="avia-button lightbox avia-icon_select-no avia-color-theme-color avia-size-medium avia-position-left"><span class="avia_iconbox_title">START THE CONVERSATION</span></a></div>
    

    If this is still not working, please provide the login details so that we can check it.

    Best regards,
    Ismael

    #907665

    Still has the same issue. Credentials added in Private Content

    #907765

    Hi,

    We added the “post-entry” class attribute to the button wrapper.

    
    <div class="post-entry avia-button-wrap avia-button-left  opacity"><a href="https://www.rotatorcreative.com/home/contact-form?&preview=true/page?iframe=true" class="avia-button avia-icon_select-no avia-color-theme-color avia-size-medium avia-position-left"><span class="avia_iconbox_title">START THE CONVERSATION</span></a></div>
    

    The videos are now excluded when you click on the button.

    Best regards,
    Ismael

    #908094

    That worked perfectly!

    Thanks or sticking with it and helping us!

    -Scott

    #908355

    Hi Scott,

    Great, glad we could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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