Child theme css issues

This topic contains 7 reply and 3 voices, and was last updated by Will 10 years, 5 months ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
June 12, 2014 at 6:17 am 21830
Will Hi I just purchased the theme and I'm having some issues setting up the child theme. It doesn't seem like the child css is overwriting the css in the parent though? Anyone else have any issues getting this setup?
June 12, 2014 at 7:39 am 21831
Will Will

Only an hour and half to figure out the enqueue issue. Maybe this should be included in the *pretty sparse* documentation (especially the page about making a child theme?!?!) Here’s the code to put in your child theme functions.php file for those looking

function theme_name_scripts() {
    wp_enqueue_style( 'style-name', get_stylesheet_uri() );
}
 
add_action( 'wp_enqueue_scripts', 'theme_name_scripts', 99 );
June 12, 2014 at 2:06 pm 21849
Sekander Badsha Sekander Badsha

Hello Will,
We are very sorry. Our documentation is not complete yet for child theme. We will complete that ASAP.

And thanks for posting the solution. You’re awesome!

June 13, 2014 at 10:19 pm 21895
Will Will

I’m having a similar issue with templates not overriding their parents. Would it have a similar source? For instance I’m trying to override the new product template but the changes are showing.

June 15, 2014 at 11:03 am 21934
Sekander Badsha Sekander Badsha

Hello Will,
If you want to customize a template (like- new-product.php), you’ll have to create the file inside your child theme; and that has to be in the exact order of the parent.

In your case, you’ll have to make a directory in your child theme and name that to templates and inside that templates folder, you have to create new-product.php.

Then customize as you like.

June 16, 2014 at 9:38 pm 22018
Will Will

Ahhhhh that’s what it is. Missing the templates folder. Thanks.

June 17, 2014 at 1:13 am 22027
Sk Sk

Hello will,

Our Dokan child theme documentation is ready. please check out for farther detail.

http://docs.wedevs.com/category/themes/dokan/developer-documentation-dokan/child-theme/

Thank you.

June 17, 2014 at 1:19 am 22028
Will Will

Looks much better thanks!

Viewing 7 Posts - 1 through 7 (of 7 total)