I would like to add different styling to my last ul element with the class name footer_list , but none of the following things are working
ul.footer_list:last-child {
border-right: none;
}
#menu-bottom.pads ul.footer_list:last-child {
border-right: none;
}
the structure looks as it follows
<div class="pads clearfix" id="menu-bottom">
<ul class="footer_list">
<li><a title="" href=""></a></li>
</ul>
<ul class="footer_list">
<li><a title="Zu den Dell Gutschein Codes" href="/dell-gutschein-codes/"></a></li>
</ul>
<ul class="footer_list">
<div class="menu-footer-container">
<ul class="menu" id="menu-footer">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25" id="menu-item-25"><a href=""></a></li>
</ul>
</div>
</ul>
</div>
You could also use the last-of-type pseudo selector.