Hi,
I have a problem with my navigation bar. I know exactly what to do to make it right and where to edit, but I don't know to to get there from css.
I have this piece of code:
<li class="page_item page-item-18"><a href="http://work/zakelijkverblijf/" title="Zakelijk">Zakelijk</a> <ul class='children'> <li class="page_item page-item-212"><a href="http://work/zakelijkverblijf/activiteiten/" title="Activiteiten">Activiteiten</a></li> <li class="page_item page-item-207"><a href="http://work/zakelijkverblijf/dagvergaderarrangementen/" title="Dagvergaderarrangementen">Dagvergaderarrangementen</a></li> <li class="page_item page-item-210"><a href="http://work/zakelijkverblijf/meerdaagse-vergaderarrangementen/" title="Meerdaagse vergaderarrangementen">Meerdaagse vergaderarrangementen</a></li> <li class="page_item page-item-214"><a href="http://work/zakelijkverblijf/personeelsuitjes/" title="Personeelsuitjes">Personeelsuitjes</a></li> </ul> </li>
I would like to add an attribute for that
- . I can't add the attribute to .children because I want that option for that particular
- .
So finally, this is the question: How can I add an css attribute for that inner
- that would apply only to that
- ?
Thanks,
Nihilistar
what?
what?
Hi, I have a problem with my
Hi,
I have a problem with my navigation bar. I know exactly what to do to make it right and where to edit, but I don't know to to get there from css.
I have this piece of code:
<li class="page_item page-item-18"><a href="http://work/zakelijkverblijf/" title="Zakelijk">Zakelijk</a> <ul class='children'> <li class="page_item page-item-212"><a href="http://work/zakelijkverblijf/activiteiten/" title="Activiteiten">Activiteiten</a></li> <li class="page_item page-item-207"><a href="http://work/zakelijkverblijf/dagvergaderarrangementen/" title="Dagvergaderarrangementen">Dagvergaderarrangementen</a></li> <li class="page_item page-item-210"><a href="http://work/zakelijkverblijf/meerdaagse-vergaderarrangementen/" title="Meerdaagse vergaderarrangementen">Meerdaagse vergaderarrangementen</a></li> <li class="page_item page-item-214"><a href="http://work/zakelijkverblijf/personeelsuitjes/" title="Personeelsuitjes">Personeelsuitjes</a></li> </ul> </li>
I would like to add an attribute for that ul class="children". I can't add the attribute to .children because I want that option for that particular li class="page_item page-item-18".
So finally, this is the question: How can I add an css attribute for that inner ul class="children" that would apply only to that li class="page_item page-item-18" ?
Thanks,
Nihilistar
So, like .page-item-18
So, like .page-item-18 .children { background-color: #f00; } ?
Nope it's not working
Nope it's not working 
Yes it does. The only way it
Yes it does.
The only way it won't is if you have styles that are more specific then the one I posted.
Since you have not supplied a link or all of your html and css that we request, it's about as much help as I am able to supply.