Home › Forums › Theme support › [orion theme] mobile version problems › Reply To: [orion theme] mobile version problems
Hello, thanks for the reply.
So could you tell me what did I wrong? Because the only two files that I have in my child theme are style.css, which is exactly:
/*
Theme Name: Gravityweb
Template: orion
*/
and functions.php, which is exactly (according to WordPress Codex):
<?php
function my_theme_enqueue_styles() {
$parent_style = ‘parent-style’;
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 )
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
?>
And that’s all. So what can be wrong here??