msFalke Posted June 15, 2020 Share Posted June 15, 2020 Site URL: https://workbold.com/ Hi! I really don't think this is possible without some serious coding skills, but i'm trying to add custom code to the top menu. The code is a div and java script from Lusha that I wan't to use instead of the "contact" button. When the visitor add their e-mail it goes into Hubspot. Is this possible at all? Link to comment
Beyondspace Posted June 15, 2020 Share Posted June 15, 2020 21 minutes ago, msFalke said: Site URL: https://workbold.com/ Hi! I really don't think this is possible without some serious coding skills, but i'm trying to add custom code to the top menu. The code is a div and java script from Lusha that I wan't to use instead of the "contact" button. When the visitor add their e-mail it goes into Hubspot. Is this possible at all? The custom code injection is javascript/css and is placed in header/footer so you can modify the site content no need to inject the custom code in the placement of the Contact Is your Hubspot account provides api to connect the input field? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
msFalke Posted June 15, 2020 Author Share Posted June 15, 2020 30 minutes ago, bangank36 said: The custom code injection is javascript/css and is placed in header/footer so you can modify the site content no need to inject the custom code in the placement of the Contact Is your Hubspot account provides api to connect the input field? Yes, I could put the javascript in the header, but I guess the div is the main problem. Lusha handles the api connection with Hubspot, it is only that I can't place the div with the input field and button in the main menu. Link to comment
Beyondspace Posted June 15, 2020 Share Posted June 15, 2020 5 minutes ago, msFalke said: Yes, I could put the javascript in the header, but I guess the div is the main problem. Lusha handles the api connection with Hubspot, it is only that I can't place the div with the input field and button in the main menu. You can manipulate DOM element using javascript, can replace the CONTACT button content by a element that contains the input and button. Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
msFalke Posted June 15, 2020 Author Share Posted June 15, 2020 8 minutes ago, bangank36 said: You can manipulate DOM element using javascript, can replace the CONTACT button content by a element that contains the input and button. Thank you so much! This was really helpful! Think I can solve it now 😄 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment