Child Theme / Great Mag Pro

How do I create a child theme for GreatMag Pro? There seems to be some missing info in the parent CSS as far as the template: , etc…anyone else have this issue?

Hello there,

Check if PHP code like this presents in your child theme’s functions.

add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );

You may want to read the documentation about this here:


Thanks @kharisblank! I also had to add the ‘Template’ text to the child .css (for whatever reason that line is missing from the parent .css), looks like all is working properly now :raised_hands:


Glad to hear that all work properly now.

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.