fbpx
Skip to content
Questions & AnswersCategory: QuestionsHow do I apply the code so that only some of my pages see the language selector?
Sam asked 8 years ago
Hello! Thank you for the wonderful script.

I don't want all of the pages on my Squarespace website to have the selector, as I just need 2 pages to have it.

How do I apply the code to specific pages and not site-wide?

Many thanks for your help.
1 Answers
Dave Hilditch Staff answered 8 years ago

Instead of pasting the language selector code into Advanced -> Code injection, instead click the cogwheel on the page where you want the language selector and find the code injection section there and paste the code.

Sam replied 8 years ago

Thanks for the response Dave! That seemed to work! (Placing the footer code, into the “PAGE HEADER” injection box on Pages)

The only other problem I’m experiencing is that with this approach and the standard (site-wide) approach is that it has shrunk my homepage banner image
to the Bedford template standard. I had increased the banner (stretched downward), by placing extra lines (returns) in my basic description. Thoughts?

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.