Top menu doesn’t expand on mobile
-
Hi, i don’t know why on mobile reslutions top menu doesn’t expand now, i was costumizing some pages,i have not set a child theme (my fault).
i add in functions.php :
/**
* Revome theme update
*/remove_action( ‘load-themes.php’, ‘wp_update_themes’);
remove_action( ‘load-update.php’, ‘wp_update_themes’);
remove_action( ‘admin_init’, ‘_maybe_update_themes’);
remove_action( ‘wp_update_themes’, ‘wp_update_themes’);
add_filter( ‘pre_transient_update_themes’, create_function(‘$a’, “return null;”));
remove_action( ‘load-update-core.php’, ‘wp_update_themes’);
add_filter( ‘pre_site_transient_update_themes’, create_function(‘$a’, “return null;”));/**
* Change read more
*/function modify_read_more_link() {
return ‘Continua..‘;
}
add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ );———- and in style.css :
}
.entry-header {
display: none;
}
- The topic ‘Top menu doesn’t expand on mobile’ is closed to new replies.