最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Mobile Menu not working on TwentyThirteen child theme

programmeradmin2浏览0评论

I have customised the Twenty Thirteen wordpress theme with a child theme but the mobile menu does not expand when pressed. I have removed all the styles from the child theme to see if anything I have implemented was causing the issue but even with the styles of the parent Twenty Thirteen theme the mobile menu does not expand. I have deactivated all plugins and again this did not help. Could really use some help with this as I am at a loss.

The site I'm working on is /

I have customised the Twenty Thirteen wordpress theme with a child theme but the mobile menu does not expand when pressed. I have removed all the styles from the child theme to see if anything I have implemented was causing the issue but even with the styles of the parent Twenty Thirteen theme the mobile menu does not expand. I have deactivated all plugins and again this did not help. Could really use some help with this as I am at a loss.

The site I'm working on is http://tappingtherapyplus/

Share Improve this question asked Jun 1, 2015 at 12:31 user1850189user1850189 1
Add a comment  | 

1 Answer 1

Reset to default 0

This is code from the codex which enables your child inheritance.

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array('parent-style')
    );
}

https://codex.wordpress/Child_Themes
发布评论

评论列表(0)

  1. 暂无评论