I have a text widget that I've placed the below code in. When I hit update, the visual composer boxes below this code disappear. I can switch back to classic and see all of the code / shortcode for the remainder of the page, and the page renders correctly, but curious if you know I might avoid this? Not sure which piece is causing this, or if there's a workaround?
This code is what I came up with to get a hubspot form to open in modal (prettyphoto). Works pretty well so far, except hiding elements in the visual composer. I've posted a screen of the before and after code.
Hi Again!
I have a text widget that I've placed the below code in. When I hit update, the visual composer boxes below this code disappear. I can switch back to classic and see all of the code / shortcode for the remainder of the page, and the page renders correctly, but curious if you know I might avoid this? Not sure which piece is causing this, or if there's a workaround?
This code is what I came up with to get a hubspot form to open in modal (prettyphoto). Works pretty well so far, except hiding elements in the visual composer. I've posted a screen of the before and after code.
<a class="nectar-button medium regular accent-color regular-button" style="visibility: visible;" href="#inline-1" rel="prettyPhoto" data-color-override="false" data-hover-color-override="false" data-hover-text-color-override="#fff">CONTACT</a>
<div id="inline-1" style="display: none;"><script>
hbspt.forms.create({
css: '',
portalId: '*******',
formId: '******************'
});
</script></div>
Hey Again,
Hope you had a Great Weekend,
You will have to use the RAW HTML Page element as you are using
tags
Thanks
ThemeNectar Support Team