Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1357313
    cleverluke
    Participant

    Hello, love your theme. Making a wonderful site with it.

    Real quick question, is there a way to add your Google Map, with markers, to a pop up/modal enacted by a button? I was looking into this article on adding a contact pop up. I tried it on our site, but it wasn’t working. Maybe it is because we are using the Visual Composer builder??

    We had also tried the Modal Box through VC Ultimate Addons, but it was disfunctional.

    Thanks for your help!
    -L

    #1357679
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Since you are using VC, please use the text box element and have something like this as the content:

    <div id="my-content">
      [google_map lat="37.8069572" lng="-122.4161852" zoom="17" drag="true" height="60%"][google_map_marker lat="37.806688" lng="-122.419036"][google_map_marker lat="37.806463" lng="-122.415812"][google_map_marker lat="37.806578" lng="-122.414230"][/google_map]
    </div>
    
    <a href="#my-content" class="lightbox-selector x-btn" data-type="inline">Click Me</a>
    
    [lightbox selector=".lightbox-selector"]

    Hope this helps.

    #1363532
    cleverluke
    Participant

    Hello, thanks for your reply, but it is not working. Just displays the map box with a button below saying “Click Me”

    Thanks again for your reply!

    #1363875
    Lely
    Moderator

    Hi There,

    I just tested it and it is working on my test site. There must be some settings on your setup that is conflicting with this. But then as I remember from your other thread, you can’t share your site. Again, we’re on the point that we can’t do anything unless we checked your setup. I know this is frustrating but we can’t recommended something if we don’t see where it is coming from. Thank you for understanding.

    #1366232
    cleverluke
    Participant

    I totally understand. I was able to make another plugin work for the issue.

    I’ll let you know if we have any more questions.

    Thank you for all of your support,
    Luke

    #1366293
    Joao
    Moderator

    Thanks Luke!

  • <script> jQuery(function($){ $("#no-reply-1357313 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>