badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Responsive menu not showing

#18626
Konrad
Participant

Hi Theme Horse Team,
I also have problems with showing up responsive menu button in child theme. I’m using 1.0.3 version right now (I’m planning to update to 1.0.4 within next few days).

My style.css looks like that:


/*
 Theme Name:   Interface Pro for Arbena
 Theme URI:    http://arbena.pl
 Description:  Interface Pro for Arbena customization
 Author:       Konrad Tabor
 Author URI:   
 Template:     interface-pro
 Version:      1.0.0
 Tags:         
 Text Domain:  interface-pro-child
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

And functions.php:

<?php

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

function my_child_theme_setup() {
	load_child_theme_textdomain( 'interface', get_stylesheet_directory() . '/languages' );
}

add_action( 'after_setup_theme', 'my_child_theme_setup' );

After searching in Firefox Dev Tools I’ve found, that .menu-toggle and button display attribute are overriden by display:none in style.css (line 934) – parent theme:

display: none;
: style.css:934 .menu-toggle none;
: responsive.css:171 <del datetime="2014-11-18T16:27:10+00:00">.menu-toggle block;</del>
: forms.css:586 button <del datetime="2014-11-18T16:27:10+00:00">inline-block;</del>

Any help will be appreciated. Thanks in advance.