Jump to content

Error on Navigation Menu, Folder items not appearing

Recommended Posts

Site URL: https://lychee-carnation-4cdg.squarespace.com/

Hi!

I'm trying to create a multilingual website and everything is working except for the items on folder that are not showing up on mobile.

I followed this tutorial: https://www.creationsbyfaria.com/blog/multilingual-site-squarespace

Basically I've created every page I need for each language, and I'm using custom CSS on each page to hide the navigation items I don't want to show on a specific language.

Everything is working perfectly fine on desktop, but on mobile, on the second and third language, the items on the folder I have are not showing up.

I've attached a print of what my Pages look like. The first language is Portuguese, the second English, and the third French.

The Products folder is the one I'm having trouble with on Mobile. Basically when I click the folder the options are not visible, but this only on the second and third language. On Portuguese they show up fine.

This is the code I'm using on the English Pages to hide the Portuguese and the French ones:

<style>
#header .header-nav-item:nth-child(1) {display:none}
#header .header-nav-item:nth-child(2) {display:none}
#header .header-nav-item:nth-child(3) {display:none}
#header .header-nav-item:nth-child(4) {display:none}
#header .header-nav-item:nth-child(5) {display:none}
#header .header-nav-item:nth-child(6) {display:none}
#header .header-nav-item:nth-child(7) {display:none}
#header .header-nav-item:nth-child(15) {display:none}
#header .header-nav-item:nth-child(16) {display:none}
#header .header-nav-item:nth-child(17) {display:none}
#header .header-nav-item:nth-child(18) {display:none}
#header .header-nav-item:nth-child(19) {display:none}
#header .header-nav-item:nth-child(20) {display:none}
#header .header-nav-item:nth-child(21) {display:none}

@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(1) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(2) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(3) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(4) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(5) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(6) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(7) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(15) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(16) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(17) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(18) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(19) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(20) {display:none}}
@media screen and (max-width:767px){#header .header-menu-nav-item:nth-child(21) {display:none}}

 

What can I do to solve the problem of the folder items not showing on mobile? 

Thanks a lot!

Capturar1.PNG

Link to comment
  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Hi. You can consider this guide. I think it is easier.

https://www.bradgood.net/articles/multi-language-content-on-any-squarespace-template

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
  • 2 weeks later...
17 hours ago, DoraLadeiro said:

Thanks for your reply.

Do you know why the items on the naviagtion menu on folders are not showing up?

Can you send password again? Thank you.

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

Hi!

The problem is on Mobile, with the 2 other languages, the english and the french.

On desktop is working fine, the problem is only with mobile.

I attached a video on this post where I showed what happens.

Link to comment
  • 1 month later...
  • 1 month later...
9 hours ago, nbeck said:

Hi @tuanphan,

I just emailed you regarding the same issue as this one before i found this thread. Maybe post solution in here for others if you know what's wrong.

Best regards

Hi,

I think i answered your email a few hours ago. You can check it again.

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
5 minutes ago, stephanmader said:

Hello, I am experiencing exactly the same issue on my site. Have you found any solutions to this? Thank you so much.

Can you share site url?

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
17 hours ago, stephanmader said:

www.stephanmader.at

the problem is on the English page in the folder music (on German page all works well)

Add to English Pages Header

<style>
  [data-folder="/music"] div {
    display: block !important;
}
</style>

 

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
  • 3 months later...

Hello, 

I've already messaged you, and deleted my secondary language code by the time you reviewed it. 

I'm having the same problem as everyone else here. On desktop the folder works perfectly. In mobile they're missing. Please help me fix this!!!! You're the best!

anastasiawellnesscoach.com

password: Bali123

Link to comment
On 1/21/2022 at 4:21 PM, GoofyBigKid said:

Hello, 

I've already messaged you, and deleted my secondary language code by the time you reviewed it. 

I'm having the same problem as everyone else here. On desktop the folder works perfectly. In mobile they're missing. Please help me fix this!!!! You're the best!

anastasiawellnesscoach.com

password: Bali123

Replace these code

#header .header-menu-nav-item:nth-child(3) {
    display: none;
}

with

nav.header-menu-nav-list>[data-folder].header-menu-nav-folder--active>div .header-menu-nav-item:nth-child(3) {
    display: none;
}

Do similar for other items

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.