Unable to mahe Activello child template

Hi,

I am trying to make a child for activello template but I’ve got a message saying “The parents theme is not installed”, but it is.

Something strange is that I tried on a local serveur and it does work, but doesn’t on my online installation.

Thanks for any help.

Hi @skaz,

I hope you are well today and thank you for your question.

Could you please share me your site URL where it’s happening so that i can troubleshoot it?

Also please share me the CSS code added in your style.css file of child theme.

Kind Regards,
Movin

Hi,

Sorry, I was about to send you every things you asked.
I uploaded again the activello_child folder and it work now. I don’t understand.

But there still something wrong.
The activello “style.css” doesn’t seems to been loaded.
This is the url, I use it for doing test before apply changes to the actual blog.
http://radikaldesign.site11.com/

This is the css code I’m using in the child forlder.

/* Theme Name: Activello for Dawn

URL: http://www.dawnandco.fr/

Template: activello

This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you’ve learned with others. */

@import url(« ../activello/style.css »);

/* CUSTOM CSS ——————————————————- */
I uploaded again the activello_child folder and it work now. I don’t understand.

But there still something wrong.
The activello “style.css” doesn’t seems to been loaded.

To load activello “style.css” file please create a file functions.php in the child theme directory and then add the following code in it.

<?php

// Queue parent style followed by child/customized style
add_action( 'wp_enqueue_scripts', 'func_enqueue_child_styles', 99);

function func_enqueue_child_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_dequeue_style('activello-style');
    wp_enqueue_style( 'activello-style',
        get_stylesheet_directory_uri() . '/style.css',
        array('parent-style')
    );
}

Ok thanks you. It’s working.

You are most welcome here :slight_smile: