html - Calling li's in css -


i working on site fieldset ul. joomla template logged in publisher. menu able change articles.

what happen first , last 2 a's not visible. (like display:none). don't know how call lines in css. know :nth-child() exists did not work way tried it.

<fieldset> <ul class="nav nav-tabs"> ::before <li class> <a href="#editor" data-toggle="tab">content</a> </li> <li class="active"> <a href="#publishing" data-toggle="tab">publishing</a> </li> <li class> <a href="#language" data-toggle="tab">language</a> </li> <li class> <a href="#metadata" data-toggle="tab">metadata</a> </li> ::after </ul> 

is there knows how call them in css? sorry if question not expert level. thanks

you can simple css

.nav li:first-child, .nav li:nth-child(3), .nav li:nth-child(4) {     display: none; } 

but not clean way. edit form should redesigned override. if haven't privilege that, ask template developer.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -