Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Code injection for bilingual site navigation


Bagonnektor

Question

Hey,

could anyone help me with code injection issue? I'm using Version 7.0– Brine family (Impact template), as a bilingual site. I managed to use the navigation in each language with a page header code injection, which helps me to hide the other language navigation buttons. It was working fine, but I just discovered, that altough I shift from language 1 to language 2, the navigation remains language 1 (on mobile as well). I think the code is ok, because on squarespace it works fine (in editorial mode). Site is here: www.molton.hu

I use this code (in case of language 1):

<style>nav.Header-nav--secondary {
   display: none;
 }

  .Mobile-overlay-nav--secondary {
   display: none;
  }
</style>

After I refresh browser, the navigation shifts to the correct language.

What is the problem? Was there any kind of updates or changes in this template, which can cause this issue?

Thanks in advance

Daniel

Edited by Bagonnektor
Link to comment

3 answers to this question

Recommended Posts

  • 0

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...