Jump to content

How to make edits to custom code take effect? After editing the custom code, my system returns immediately to its original state.

Recommended Posts

My site provides two "language classes" -- English and Spanish. To move from one language to the next, users can click on the word "English" or "Spanish" in the upper right corner of any screen. Today I wish to add a third language option. Howver, when I add (type in) the two lines of code to create this third language option, the system simply reverts back to its original state, with just two language options. How to edit the custom code so that my desired edits take effect? Note: This is surely a simple, everyday action for experienced programmers, however I am not such a person, thus I seek your expert advice Thank you!

Link to comment

Can you share some details to allow someone to help you with this?

What code are you using?
Where did you get it? 
What's your website URL?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Ziggy, 

Thank you for your reply.  

The specific code I refer to -- the code that creates the two language classes -- can be found in the attached document. Also visible in the attached document is are the words "English" and "Espagnol" that the user can click on to move to the English-language pages or the Spanish-language pages.

The title of the website is www.christianzionism.org

- Tom Beilman 

Screen Shot 2023-09-28 at 10.43.01 AM.png

Link to comment

Ziggy,

And further, the custom code two create the English and Spanish language options was provided by the professional website developer who created the site. Unfortunately, he is no longer able to provide assistance. I am now the administrator of the site. I can figure out the specific code that is needed to add a third language opton. And I can type in the desired code.  However, getting it to take effect (I keep looking for an "apply" button!) remains a mystery to me. Thank you sincerely for any insights you can provide.

Tom B

Link to comment
Just now, ThomasBeilman said:

And I can type in the desired code.

Where are you typing in extra code?

If you're doing it in the chrome developer tools, then that's where the problem is. Chrome developer tools is a way of inspecting any website, but it is not a way to make lasting changes to your website. For that you need to find the code in your dashboard, probably in Header Code Injection.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.