- Acme Themes

Best Premium and Free WordPress Themes Forums Event Star Some problems with responsivness and hamburger menu Reply To: Some problems with responsivness and hamburger menu

#44133
sandras
Participant

I switched off all plugins one by one, same problem appeared every time.
Child theme is done according WordPress.org descriptions (https://developer.wordpress.org/themes/advanced-topics/child-themes/).
My functions.php file is following:
<?php
function my_theme_enqueue_styles() {

$parent_style = ‘event-star-style’; // This is ‘evemt-star-style’ theme

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 ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
remove_filter(‘widget_text_content’, ‘wpautop’);
?>

I realised menu is working for 768px screen size if I remove that last part:
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
remove_filter(‘widget_text_content’, ‘wpautop’);
But then all thedesign is messed up.