Okay
  Public Ticket #343278
Trying to embed code
Closed

Comments

  • Trey started the conversation

    Hello, 

    I'm trying to add this html object to my website. It is a menu display widget from a website. After adding it to the page, the page size increases, but the menu object isn't there.

    Do you have any suggestions on how to make it appear correctly?

    Here is the code:

    <div id="leafly-container" style="width:800px;"></div> <div style="width:800px;text-align:center;"><a href="http://www.leafly.com">Powered by Leafly</a></div> <script> window.leaflyAsyncInit=function(){ LeaflyEmbed.startHost("//www.leafly.com/embed/menu/tlc-medicale34d?version=a","leafly-container"); };(function (d) { var js, id = 'leafly-js'; if (d.getElementById(id)) { return; } js = d.createElement('script'); js.id = id; js.async = true; js.src = "//www.leafly.com/combine/embedMenuJs/1072349159/"; d.getElementsByTagName('head')[0].appendChild(js); } (document)); </script>

    Thank you!

  •  8,427
    Tahir replied

    Hey!

    Please try placing it in the RAW Html Page Element in Visual Composer. 

    Also please provide the page url if you still cant get it to work. 

    Thanks


    ThemeNectar Support Team 

  •   Trey replied privately
  •  8,427
    Tahir replied

    Hey Again!

    could you allow us to log in so we can check on this for you more?. 
    Thanks


    ThemeNectar Support Team 

  •   Trey replied privately
  •  8,427
    Tahir replied

    Hey Again!

    The login url does not seem to be correct. Can you please recheck .

     Thanks 


    ThemeNectar Support Team 

  •   Trey replied privately
  •  8,427
    Tahir replied

    Hey Agian!

    Add this into the Custom CSS box located in your Salient Options panel :
    iframe[src*="leafly"] {
        opacity: 1 !important;
    }
    
    Thanks 


    ThemeNectar Support Team