Skip to content

Commit 7d69dfd

Browse files
authored
Merge pull request #34 from creativecommons/fix-menu-arrows
Update menu walker for correct dropdown arrows
2 parents 29ca87d + 911d5ac commit 7d69dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/class-walkers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0
2626
$li_classes .= $has_children ? ' has-dropdown is-hoverable' : '';
2727
if ( $has_children ) {
2828
$output .= "<div class='" . $li_classes . "'>";
29-
$output .= "\n<a class='navbar-link' href='" . $item->url . "'>" . $item->title . '</a>';
29+
$output .= "\n<a class='navbar-link is-arrowless' href='" . $item->url . "'>" . $item->title . '<i class="icon caret-down"></i></a>';
3030
} else {
3131
$output .= "<a class='" . $li_classes . "' href='" . $item->url . "'>" . $item->title;
3232
}

0 commit comments

Comments
 (0)