Child theme css stylesheet doesn't react
-
Hello,
I made a child theme with Orbisius Child Theme Creator plugin.
The function.php was empty. and from what I saw at WordPress, I put:add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
My css.stylesheet was made by the plugin. I just added some commands..
/* Theme Name: Adventure Tours Child 01 Theme URI: Description: Child 01 theme for the Adventure Tours theme Author: <a href="https://themeforest.net/user/themedelight">ThemeDelight</a> Author URI: Template: adventure-tours Version: 1.1.1 */ /* Generated by Orbisius Child Theme Creator (https://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Sat, 28 Nov 2015 18:26:46 +0000 */ @import url('../adventure-tours/style.css'); .main-nav > li:last-child { margin-right: 25px !important ; } .price-decoration--without-price .price-decoration__label { display:none !important} .slider { margin-bottom: -79px !important; }
The style is not changing… I think i didn’t call it on function.php right…
What Is wrong here?
- The topic ‘Child theme css stylesheet doesn't react’ is closed to new replies.