- This topic has 3 replies, 2 voices, and was last updated 1 week ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Child Theme: Style is not working
Hi,
I have created child theme and successfully activated with below comment in style.css. But Child’s theme style.css is not working after I add up add_action in function.php using below code:
add_action( ‘wp_enqueue_scripts’, ‘wp_enqueue_styles’, 11 );
function wp_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’ );
}
/*
Theme Name: SKT Vet Clinic Child Theme
Theme URI: https://www.sktthemes.org/shop/veterinary-wordpress-theme/
Description: A child theme of Vet Clinic Lite Theme.
Description: Elevate your veterinary practice or pet-related business with our premium Veterinary WordPress theme. Crafted for animal lovers and professionals, our theme offers a perfect blend of stunning design and practical features. Demo : https://sktperfectdemo.com/themepack/vetclinic
Author: SKT Themes
Author URI: https://www.sktthemes.org
Version: 1.0.0
Template: skt-vet-clinic
*/
Please help me to fix my child theme style issue. It is very important.
Thanks
Looking forward to get response from you.
Regards
Abe
Hi,
Kindly show us your website URL?
Regards,
Dave
Sure,
https://sunsetlakesanimalclinics.com/
I created the child theme, but the style.css for my child theme is not working on the live website.
Any help would be greatly appreciated.
Thanks
Hi,
We checked, your website is working fine. We did not find any issue on your website.
Can you send us the screenshot of your issues? Upload your screenshot on https://imgbb.com/ and paste the share url here.
Regards,
Dave
Are you searching for the perfect website theme for your health and fitness business? Look no further! This post showcases the best supplements WordPress themes, […]
Want to create a stunning online space for gamers? You’ve come to the right place! This blog highlights the best game portal WordPress themes built […]
Struggling to find a WordPress theme that supports right-to-left (RTL) languages? Worry no more—you’ve just landed on the ultimate resource! In this post, we uncover […]