Home › Forums › All Other Themes › Child Theme: Style is not working
- This topic has 3 replies, 2 voices, and was last updated 1 year ago by
Sonal S Sinha.
-
AuthorPosts
-
November 6, 2024 at 2:16 am #225907
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
AbeNovember 8, 2024 at 7:12 pm #226010Hi,
Kindly show us your website URL?
Regards,
DaveNovember 14, 2024 at 12:36 am #226127Sure,
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
November 14, 2024 at 11:08 am #226131Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
