Site URL: https://www.dasbergquartier.com
Hi,
I have just created my first Squarespace site and, as I wanted the site to be in two languages, I have two pages for each page of the site, each in a different language. To do this I included the below code on each page so that unwanted pages are hidden in the header:
<style>
#header .header-nav-item:nth-child(8) {display:none}
</style>
This means that this page (which is in German) doesn't show in the header of the pages in English, for example.
This works perfectly for the desktop version BUT all pages are still showing up in the mobile version and I have no idea why. Has anyone else had this issue and can anyone give me some code which will make only the right pages for each language appear in the mobile header as it does on the desktop header? Any help anyone can give would be really appreciated.
Many thanks in advance.