2015-11-20, 01:45:25
(2015-11-19, 23:03:51)The_Shopkeeper Wrote: Trouble I'm having is that as the sub-menu appears, only the text link for last of the 3 pages is visible - the first 2 are "covered" by the main header. The html shows that they are all there.Ok - I think I've cracked it - at approx line 63 in functions.php I changed this:
Code:
// parent has children so use special bootstrap menuitems and classes
$menu .= '<li class="dropdown ' . $parent_tab_class . '">';
$menu .= '<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">'.strip_decode($ppage['menu']).'<span class="caret"></span></a>';
$menu .= '<ul class="dropdown-menu" role="menu">';
Code:
// parent has children so use special bootstrap menuitems and classes
$menu .= '<li class="dropdown ' . $parent_tab_class . '">';
$menu .= '<a href="'. find_url($ppage['url'],$ppage['parent']) . '" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">'.strip_decode($ppage['menu']).'<span class="caret"></span></a>';
$menu .= '<ul class="dropdown-menu" role="menu">';
A sanity check from other users would be useful.