Child theme

This topic contains 8 reply and 2 voices, and was last updated by Sk 9 years, 8 months ago
Viewing 8 Posts - 1 through 8 (of 8 total)
Author Posts
July 10, 2014 at 10:51 pm 23325
Sk I've been suggested by your support to customize the theme in a child theme. With that header: /* Theme Name: dokan-child Description: Child Theme Template: dokan Version: 1.0.5 */ @import url("../dokan/style.css"); /* Theme customization starts here ------ The style in my child theme doesn't load :/ What's wrong? Thx
July 11, 2014 at 12:16 pm 23341
Sk Sk

Hello Jean,

Please check out the documentation here ->

http://docs.wedevs.com/styling-chile-theme/#load-style-sheet

Thank you

July 15, 2014 at 1:12 am 23560
Jean-Michel Jean-Michel

Thx for the answer..
I’ve followed the instruction.. but nothing in my child-theme css file is loading.

That’s my functions.php in my child-theme

Thx!

July 15, 2014 at 3:40 pm 23604
Sk Sk

Hello Jean,

Please replace wp_enqueue by wp_enqueue_style like

< ?php
define( 'THEMEROOT', get_stylesheet_directory_uri() );
function scripts(){
wp_enqueue_style( 'dokan-child', THEMEROOT.'/style.css', false, null );
}

add_action( 'wp_enqueue_scripts', 'scripts', 99);

Thank you.

July 15, 2014 at 6:19 pm 23612
Jean-Michel Jean-Michel

Heaven with that code.. The style doesn’t take effect..
Really; I need this to be fix :/

July 16, 2014 at 11:28 am 23639
Sk Sk

Hello jean.

can you please provide us your admin access? So that we can check the code.

Thank you.

July 16, 2014 at 11:50 pm 23678
Jean-Michel Jean-Michel This reply has been marked as private.
July 17, 2014 at 4:55 pm 23718
Jean-Michel Jean-Michel This reply has been marked as private.
July 20, 2014 at 3:12 pm 23802
Sk Sk

Hello Jean,

Your Child-theme works perfectly. I have write a css class for change your category-widget-title style. It works. Please check.

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