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

Can't hide nav items in portfolio subpages


felipe33gra

Question

Site URL: https://gmengenheiros.com.br/projetos/sap-labs-en

I've been translanting an existing site to english and I've been having trouble targeting subpages in a portfolio (#item-...) Don't know jack s*** about css coding and have been bumping my head for 1 week now haha. Here's the code I used site-wide, and it worked: 

<style>
#header .header-nav-item:nth-child(6) {display:none}

#header .header-nav-item:nth-child(7) {display:none}

#header .header-nav-item:nth-child(8) {display:none}

#header .header-nav-item:nth-child(9) {display:none}
  
  #header .header-nav-item:nth-child(10) {display:none}
</style>

So I thought this would work, when targeting an specific subpage, but it does not:

<style>
#item-5fd8ad80acce81371bfc75c8 {
#header .header-nav-item:nth-child(9)      {display:none}
 !important }
  </style>

I'd really appreciate if someone could help, thanks in advance!

Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

You want to hide items on main navigation or where??

4 answers to this question

Recommended Posts

  • 0

Yes, on main navigation. Where it says "Projetos Sobre.." i wanted to show the translation "Projects About..." in specific subpages, but can't seem to correctly target them.

Link to post
  • 0
22 hours ago, tuanphan said:

Hi. Sorry for the delay. I was off some days. Do you still need help on this?

Hey, no worries, I was off too... Your help on this would be much appreciated still haha

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