Child-theme – what am I missing?
-
Hi,
I’ve created a child-theme for this theme.
Thing is, the site looks great on all browsers when I use the Parent Theme, but when I switch to the Child Theme, the site is messed up on IE. I know it’s not something on the Child Theme’s CSS as even when I remove the file, it stays the same.
I think I missed something on the Child Theme’s functions.php file?<?php 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_uri(), array( 'parent-style' ) ); }
Again, when I switch back to the Parent Theme it looks great.
This is the link:
https://ronnies-linux.evh732.evhost.co.il/
- The topic ‘Child-theme – what am I missing?’ is closed to new replies.