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

hide one link in nav using CSS in 7.1



I think i have asked a wrong question in what i really want for my website before. I have a site in two languages, in English and Chinese. Has anyone figured how to hide one language's links from the other using only CSS(on 7.1)?

I have looked at this here but it does not work for 7.1 at all. I tried this



{#header .nav-wrapper a>:nth-child(n1),

#header .nav-wrapper a>:nth-child(n2),

#header .nav-wrapper a>:nth-child(n3),

#header .nav-wrapper a>:nth-child(n4) {display: none;}


but it does not work at all, what do i have to replace to make them work with 7.1?

Thank you so much


Share this post

Link to post

2 answers to this question

Recommended Posts

  • 0

SS 7.1 Navigation uses different class for all items, so the above code won't work.

If you share link to english/chinese pages, we can take a look.

(I did similar on 4 sites for members on here)


Edited by tuanphan

COVID-19: Free priority support for all users (29/03 - 30/04).

You can tag me (@tuanphan) or send to my email.


Share this post

Link to post
  • 0

here is a set


another set





thank you


-would it be easier if i share you the account? I can add you as collaborator to inspect it better since I feel like I messed up the links

Edited by RYooo

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...