I'm looking to format the bullets for the last item of the list.
I'm using Firebug to pinpoint where the menu item is and I have two options in front of me:
Screenshot 2 - Includes bullet
Now I'm looking at either using CSS or jQuery to select the last item.
I tried using this CSS and it applies to the last TWO items.
ul.children li:last-child{
color: red;
list-style-type: circle;
}
I'm thinking maybe I need to use jQuery but I haven't had luck with that either.
Here is my custom walker that displays $output:
$output .= $indent .
'<li><div class="link"><a href="' . get_page_link($page->ID) . '" title="' .
esc_attr( wp_strip_all_tags( apply_filters( 'the_title', $page->post_title,
$page->ID ) ) ) . '">' .
$link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) .
$link_after . '</a>' . $MetaOutput . '</div>';
I'm going to make a conditional that asks if $MetaOutput's children = 0 , apply this style.
I am going to try and make a class for the