Jump to content

From Dutch site back to cover page by clicking on logo

Recommended Posts

I have build my website in 2 languages without the translator. Via the cover page people can choose english or dutch. when they choose english they can click on the logo and go back to the cover page but when they click dutch they can't. they get an error. What code do I put where to make this happen? 

Thanx 

Link to comment

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

In the code you will see a section labeled...

/* HOMEPAGE-LOGO LINKS TO PROPER LANGUAGE HOMEPAGE */

Just below that you will see if

Change that to /* if

Then a few lines down you will see a } (right curly bracket)

Change that to } */

What this does is comment out that code. Commented code doesn't run.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.