nycrom
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Themes mobile navigation is broken …So i hard coded it now as workaround
Forum: Themes and Templates
In reply to: Themes mobile navigation is broken …The theme can be found here: http://gofile.me/6s8Mb/oZpHXoXgp
In the standard theme the navigation works.
Forum: Themes and Templates
In reply to: Themes mobile navigation is broken …I found this code in the functions.php from the theme, which is instantiated in the header.php. But i dont know if this has something todo with the problem…
class gp_mobile_menu extends Walker_Nav_Menu{
var $to_depth = -1;
function start_lvl(&$output, $depth){
$indent = str_repeat(“\t”, $depth);
}function end_lvl(&$output, $depth){
$indent = str_repeat(“\t”, $depth);
}function start_el($output, $item, $depth, $args){
$item->title = str_repeat(“-“, $depth * 2).’ ‘.$item->title;
parent::start_el($output, $item, $depth, $args);
$output = str_replace(‘<li’, ‘<option value=”‘ . $item->url . ‘”‘, $output);
}function end_el(&$output, $item, $depth){
$output .= “</option>\n”;
}}
Forum: Themes and Templates
In reply to: Themes mobile navigation is broken …There is no option for a mobile menue there.
The mobile menue worked earlier – i think it stopped working after a wordpress upgrade.