Jump to content

Blog Article is showing the navigation in german eventhough the link is from our English Blog Page

Recommended Posts

Hello, 

i need help with the following. We are using a code to hide our german pages from our english pages and vice versa. We have a Blog Page (englsih) which shows all our english articels. This works perfectly showing only our english articles. When clicking on the english article tho, it shows the german navigation. I am guessing that I would have to include every single Page ID from the articles in to our Code, to solve this problem... is there maybe an easier solution? 

For better understanding a few screenshots attached.

Happy to hear from one of you. Thanks in advance. 

 

All best, Natascha 

Screenshot 2023-05-12 164310.png

Screenshot 2023-05-12 164245.png

Link to comment
On 5/15/2023 at 1:33 PM, Natascha said:

This is the blog page url: https://mondaycoffee.com/blog-en

 

Hi,

Do you use Personal or Business Plan? If Business, we can give a shorter code then you can add it to Page Header, no need to find ID to use CSS box

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

For example this code

#collection-575e62fb86db43d48382d337 #mainNavigation>:nth-child(odd), #collection-5910c33ae4fcb530d25d4b2c #mainNavigation>:nth-child(odd), #collection-575e7433f85082a729d2b060 #mainNavigation>:nth-child(odd), #collection-575e750240261d880443092c #mainNavigation>:nth-child(odd), #collection-575e75fbcf80a1d9c7453985 #mainNavigation>:nth-child(odd), #collection-577a42c0cd0f68c0f2490a4a #mainNavigation>:nth-child(odd), #collection-58516b05d482e9ca23546d21 #mainNavigation>:nth-child(odd), #collection-5853cfb33e00bec91e1df0ec #mainNavigation>:nth-child(odd), #collection-587d318be58c62775cac659e #mainNavigation>:nth-child(odd), #collection-5888cca3f5e231a1fe96266d #mainNavigation>:nth-child(odd), #collection-58e2aa1e5016e1f19b2c821e #mainNavigation>:nth-child(odd), #collection-589959426a496356e7f01c03 #mainNavigation>:nth-child(odd), #collection-57cedc5abe659421cb850fcf #mainNavigation>:nth-child(odd), #collection-58c287c7d482e969f2d12d20 #mainNavigation>:nth-child(odd), #collection-58caa959ff7c50b076c79a7d #mainNavigation>:nth-child(odd), #collection-58c2a2d403596ea739427962 #mainNavigation>:nth-child(odd), #collection-5936a80115d5dbd832a5f7de #mainNavigation>:nth-child(odd), #collection-59540bca1b10e3ef721aaad8 #mainNavigation>:nth-child(odd), #collection-59540eb9d482e9515175aea2 #mainNavigation>:nth-child(odd), #collection-59540c168419c25959e87cee #mainNavigation>:nth-child(odd), #collection-59c10a60edaed88697284761 #mainNavigation>:nth-child(odd), #collection-59de49f5cd0f68d31e8de205 #mainNavigation>:nth-child(odd), #collection-59de8476914e6bbbe2be0985 #mainNavigation>:nth-child(odd), #collection-59f8921af9619afcdca88d59 #mainNavigation>:nth-child(odd), #collection-5a0156c008522989a6480b4d #mainNavigation>:nth-child(odd), #collection-5a01597a41920244caf733d5 #mainNavigation>:nth-child(odd), #collection-5a0214cf8165f50a008ee6e4 #mainNavigation>:nth-child(odd), #collection-5a0224eae4966b3cf5337dd0 #mainNavigation>:nth-child(odd), #collection-5a0227b14192024dea610e26 #mainNavigation>:nth-child(odd), #collection-5a022822e4966b3cf534505f #mainNavigation>:nth-child(odd), #collection-5a15e4268165f542d60ab161 #mainNavigation>:nth-child(odd), #collection-5a15e440c83025aa86cb3ace #mainNavigation>:nth-child(odd), #collection-5a1d23c2c83025aa86c32515 #mainNavigation>:nth-child(odd), #collection-5b154303562fa7ba71ecb8fd #mainNavigation>:nth-child(odd), #collection-5b1540a30e2e7209cdd3e152 #mainNavigation>:nth-child(odd), #collection-5b2a080e6d2a73b431312954 #mainNavigation>:nth-child(odd), #collection-5be59fcecd836678e91c9aaa #mainNavigation>:nth-child(odd), #collection-5bfbf6dc70a6ad835e7c6c94 #mainNavigation>:nth-child(odd), #collection-5bfbf672b8a045b4c03e328f #mainNavigation>:nth-child(odd), #collection-5bfbf6141ae6cf43c2bf1cc0 #mainNavigation>:nth-child(odd), #collection-5c1cda4b4fa51a8a62f7866e #mainNavigation>:nth-child(odd), #collection-5c740b49e4966b0b2514b32f #mainNavigation>:nth-child(odd), #collection-5d12325f959a6d0001cbd60a #mainNavigation>:nth-child(odd), #collection-5d80b7358489870443e6f57b #mainNavigation>:nth-child(odd), #collection-5d80c243c5e3622a2d7002d8 #mainNavigation>:nth-child(odd), #collection-5d8e1f2be99cce28c8116733 #mainNavigation>:nth-child(odd), #collection-5d8e0bb21b9acb69e785884f #mainNavigation>:nth-child(odd), #collection-5e21797f2ea93e14b2c6fffa #mainNavigation>:nth-child(odd), #collection-5e217c2bf52b107943e26e03 #mainNavigation>:nth-child(odd), #collection-5e218566bb909c4a01bf9341 #mainNavigation>:nth-child(odd), #collection-5e2ffe7a05970d3b845c636d #mainNavigation>:nth-child(odd), #collection-5e305877898d7b14b762dfde #mainNavigation>:nth-child(odd), #collection-5e3058ce898d7b14b762f4cb #mainNavigation>:nth-child(odd), #collection-5e305a888cb7153a9364e6db #mainNavigation>:nth-child(odd), #collection-5e305abd0f08f8258f00e765 #mainNavigation>:nth-child(odd), #collection-5e305cbb9826d330d5c78c9c #mainNavigation>:nth-child(odd), #collection-5e305db9fbd9226b2a46f4cd #mainNavigation>:nth-child(odd), #collection-5ed608dd1b7b946525edcc70 #mainNavigation>:nth-child(odd), #collection-5f6364c855101d0ecc5d07b5 #mainNavigation>:nth-child(odd), #collection-5fa562fe45cf9d5ad5cafd65 #mainNavigation>:nth-child(odd), #collection-6051b92734ade829d6f1d53b #mainNavigation>:nth-child(odd), #collection-606446ff3c43bd63e5d35ef7 #mainNavigation>:nth-child(odd), #collection-606ddbf458c63179a87e7336 #mainNavigation>:nth-child(odd), #collection-60742c8e70cbbf61393284ca #mainNavigation>:nth-child(odd), #collection-607d4d420de03311b0bec9f0 #mainNavigation>:nth-child(odd), #collection-60a61288895adc5764c9e841 #mainNavigation>:nth-child(odd), #collection-60a61a1937e8a82d341e1a0a #mainNavigation>:nth-child(odd), #collection-60c881f8bf0b7e71e84b448a #mainNavigation>:nth-child(odd), #collection-60e40d651b5b112f45563144 #mainNavigation>:nth-child(odd), #collection-60ed58226ebf0d48ea8e3ea0 #mainNavigation>:nth-child(odd), #collection-6102a0c268ac63036a47bec1 #mainNavigation>:nth-child(odd), #collection-6102a3f35c4a20491d68295c #mainNavigation>:nth-child(odd), #collection-6149e3d0e9b30652688df1f4 #mainNavigation>:nth-child(odd), #collection-614c42af66ae971e2f22efef #mainNavigation>:nth-child(odd), #collection-6163f28f1d050972468af9b5 #mainNavigation>:nth-child(odd), #collection-6167e00d8a96611e9f648530 #mainNavigation>:nth-child(odd), #collection-61826fcba2f2e51ecd55b609 #mainNavigation>:nth-child(odd), #collection-61940874746ee91f5fab7e28 #mainNavigation>:nth-child(odd), #collection-61b35b981b1a292833b8a743 #mainNavigation>:nth-child(odd), #collection-61e1220100d6c6183e29f6c0 #mainNavigation>:nth-child(odd), #collection-620124f43c229f6f8ec00413 #mainNavigation>:nth-child(odd), #collection-622205726ce2220b5afd9501 #mainNavigation>:nth-child(odd), #collection-623dd4116032966aaa5b7e31 #mainNavigation>:nth-child(odd), #collection-625411667253e504c5e721cb #mainNavigation>:nth-child(odd), #collection-626fa34a9e62995f93852b82 #mainNavigation>:nth-child(odd), #collection-627e6cd68d02cf7e5bfe1620 #mainNavigation>:nth-child(odd), #collection-62b4848ff78ad631c5ef6368 #mainNavigation>:nth-child(odd), #collection-63187e6cfe98bb4b3ca0497a #mainNavigation>:nth-child(odd), #collection-6320618f969a29006ae671fd #mainNavigation>:nth-child(odd), #collection-634fadd67b508a50215ac212 #mainNavigation>:nth-child(odd), #collection-636927dd29e90e31b3265065 #mainNavigation>:nth-child(odd), #collection-636a83b5b8929d71b2f59b54 #mainNavigation>:nth-child(odd), #collection-637ce66246d0114725eff404 #mainNavigation>:nth-child(odd), #collection-637ce66246d0114725eff404 #mainNavigation>:nth-child(odd), #collection-6398557306d4fa70ca559842 #mainNavigation>:nth-child(odd), #collection-63999c0d80800648445b1d96 #mainNavigation>:nth-child(odd), #collection-63999d346179a27606dc1cda #mainNavigation>:nth-child(odd), #collection-63999dd7ae2ed43f0718be13 #mainNavigation>:nth-child(odd), #collection-63999e0b70770c7d49a83cf1 #mainNavigation>:nth-child(odd), #collection-63999f62f70d581ddcc430b5 #mainNavigation>:nth-child(odd), #collection-63999f8a4f081b185cb639bf #mainNavigation>:nth-child(odd), #collection-63bc3d6fce305a3bb34b6e21 #mainNavigation>:nth-child(odd), #collection-63c9057b641b4879209fd8c9 #mainNavigation>:nth-child(odd), #collection-63da30fa6f6d3070d22aefa0 #mainNavigation>:nth-child(odd), #collection-63ea77d07b2bbc51d0e08bb5 #mainNavigation>:nth-child(odd), #collection-640f0b456c70dc202d13ef77 #mainNavigation>:nth-child(odd), #collection-643510500326ea7381424b3e #mainNavigation>:nth-child(odd), #collection-646394df43b4001d037daa8a #mainNavigation>:nth-child(odd) {
    display: none;
}

Instead of adding it to Custom CSS, you can add this code to Page Header of each page

<style>
  #mainNavigation>:nth-child(odd) {
    display: none;
}
</style>

Do you know how to open Page Header?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.