- This topic has 3 replies, 2 voices, and was last updated 3 months, 2 weeks 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
Adding Floating Cookies Bar in Footer of WordPress Website Today we’ll leave you with the practical ways of adding WordPress floating cookies bar in the […]
How to Add WordPress Multiple Authors in a Blog or Website? For adding multiple plugins, Author Avatar Lists Plugin works efficiently that you can easily […]
How to limit post revisions in a WordPress Website? WordPress content management system comes with prebuilt limit post revisions functionality. It’s a system that keeps […]