Shopper Woocommerce theme
-
I’d like to build a child theme on top of Shopper Woocommerce Theme.
Something is going wrong during the enqueue of the stylesheet. I see in the Codex that “you will have to make sure to maintain all of the Parent Theme dependencies,” and this theme does have multiple stylesheets. I’ve tried the code below, but it doesn’t seem to work.
<?php 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' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/css/arrows.svg' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/css/flickerplate.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/css/mobile.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/css/slicknav.css' ); } ?>
Any help would be great. Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shopper Woocommerce theme’ is closed to new replies.