Skip to main content
18 events
when toggle format what by license comment
Jul 15, 2015 at 17:43 vote accept StealthTrails
Jul 15, 2015 at 15:58 comment added StealthTrails this is my child theme [stylesheet] (heypasteit.com/clip/22KM) and my child theme is placed in themes directory.
Jul 15, 2015 at 9:50 comment added Pieter Goosen I suspect your stylesheet header is wrong. I can promise you, the code in my answer works. File an edit and add your stylesheet header in your question so I can have a look at it
Jul 15, 2015 at 9:46 comment added StealthTrails I tried the methods told by you but when I activate child theme my website's look is changed , so what I am supposed to do now ??
Jul 9, 2015 at 17:59 comment added Pieter Goosen Well, it work perfect on my side. What the hell is did not work. Please give some context. I can do nothing with did not work. Clear your caches as well, browser and plugin
Jul 9, 2015 at 17:35 comment added StealthTrails did not work :/
Jul 9, 2015 at 17:23 comment added Pieter Goosen Please see my update. Should work now
Jul 9, 2015 at 17:23 history edited Pieter Goosen CC BY-SA 3.0
added 150 characters in body
Jul 9, 2015 at 17:20 comment added Pieter Goosen I will update, I think with this dependency of the parent style, the parent style is loading after child style :-)
Jul 9, 2015 at 17:18 comment added StealthTrails I added the above code add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', array( 'genericons' ) ); } but website's old look collapsed :/ when I activated the child theme.
Jul 9, 2015 at 15:39 comment added Pieter Goosen Are you getting the hang of this now?
Jul 9, 2015 at 14:30 history edited Pieter Goosen CC BY-SA 3.0
added 1322 characters in body
Jul 9, 2015 at 13:24 comment added StealthTrails I know it , please give me a solution instead :)
Jul 9, 2015 at 12:30 comment added Pieter Goosen Also, you cannot redeclare the same function name, you'll get a fatal error
Jul 9, 2015 at 12:29 comment added Pieter Goosen You cannot use the same handle for all stylesheets, it will not work
Jul 9, 2015 at 12:15 comment added StealthTrails this is my functions.php file link
Jul 9, 2015 at 12:06 comment added StealthTrails actually all four (mentioned in the question) stylesheets are not being loaded by child theme by the code above.
Jul 9, 2015 at 12:01 history answered Pieter Goosen CC BY-SA 3.0