Hi all. I created 2 language selections using below codes for each page's code injection:
#header .header-nav-item:nth-child(4) {display:none}
And, it works well for Desktop. Then I inserted below code for the page's code injection to let it hide the same folder item in Mobile version:
@media screen and (max-width:1511px){#header .header-menu-nav-item:nth-child(4) {display:none}}
But, Mobile menu, it is also hiding the 4th item under first folder which I believe the code is hiding all 4th item regardless of 4th folder or 4th menu item under first folder.
Is there any suitable code to used instead of using nth-child or any suggestion/help, please!
Thank you in advance!