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

hide one link in nav using CSS in 7.1

Question

hi, 

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

Quote

.collection-5de6aa50ae38e01033140c54

{#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

Send me a message if you have any questions (free 10 minutes).

Don't send to forum message. I will check all questions via the link above

Share this post


Link to post
  • 0

here is a set

Quote

another set

Quote

 

Quote

 

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