felipe33gra Posted January 14, 2021 Share Posted January 14, 2021 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 comment
tuanphan Posted January 17, 2021 Share Posted January 17, 2021 You want to hide items on main navigation or where?? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
felipe33gra Posted January 27, 2021 Author Share Posted January 27, 2021 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 comment
tuanphan Posted February 2, 2021 Share Posted February 2, 2021 Hi. Sorry for the delay. I was off some days. Do you still need help on this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
felipe33gra Posted February 3, 2021 Author Share Posted February 3, 2021 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 comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.