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



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: 

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

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

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

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

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

Create an account or sign in to comment

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

  • Create New...