Zulu Posted October 26, 2022 Share Posted October 26, 2022 Hey everyone, Is it possible to see and edit template HTML code? I want to add google translation to my site, but the options that I have gotten from support to add custom HTML code is not helpful for this. I need to add content to the body so the translation option can be displayed. The website password (if you go to the website) is "pjmb". Thanks, Zulu Link to comment
Zulu Posted October 26, 2022 Author Share Posted October 26, 2022 To add to this: I want to add content to the nav bar of my website, not the regular content. Link to comment
Ziggy Posted October 27, 2022 Share Posted October 27, 2022 Can you share your website URL? Can you share the code that you're trying to add? 12 hours ago, Zulu said: I want to add content to the nav bar of my website, not the regular content. What content are you wanting to put here? Is this a Google Translate widget? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Zulu Posted October 27, 2022 Author Share Posted October 27, 2022 5 hours ago, Ziggy said: Can you share your website URL? I added it to the original post so I'm unsure why it didn't add it, but the url is https://www.sweetescapesllc.net and the password is "pjmb" 5 hours ago, Ziggy said: Can you share the code that you're trying to add? I am trying to implement this: https://www.w3schools.com/howto/howto_google_translate.asp It is the bottom example. I want to add the google translate option to the nav part of the website to the right of the social media accounts. 5 hours ago, Ziggy said: Is this a Google Translate widget? Yes, if I understand your question. Link to comment
JuanU_SQSP Posted October 27, 2022 Share Posted October 27, 2022 Hi @Zulu, You can add code to the content of your page with a Code Block. The code added to the block will be added to the <body> section of the HTML code of the site. Here's a guide to help: https://support.squarespace.com/hc/articles/206543167 You can also add code to the <head> section of the site in the Settings -> Advanced -> code injection panel, Header section. Here's another guide: https://support.squarespace.com/hc/articles/205815908 Link to comment
Zulu Posted October 27, 2022 Author Share Posted October 27, 2022 3 minutes ago, JuanU_SQSP said: You can also add code to the <head> section of the site in the Settings -> Advanced -> code injection panel, Header section. Here's another guide: I want to add the google translate option to the site header. It isn't giving me an option to add a code block when I edit the site header. I need to physically add the google translate element in order to make it display it where I want it. Link to comment
Ziggy Posted October 27, 2022 Share Posted October 27, 2022 Here's a guide for Google Translate on Squarespace: https://www.websitebuilderinsider.com/how-do-i-add-google-translate-to-squarespace/ Zulu 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Zulu Posted October 27, 2022 Author Share Posted October 27, 2022 This worked. Thank you. 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