Child Theme: Style is not working

Home Forums All Other Themes Child Theme: Style is not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225907
    Abraham DanielsAbraham Daniels
    Participant
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: November 5, 2024

    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

    #226010
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30992
    • Total: 30992
    Member since: August 16, 2013

    Hi,

    Kindly show us your website URL?

    Regards,
    Dave

    #226127
    Abraham DanielsAbraham Daniels
    Participant
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: November 5, 2024

    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

    #226131
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30992
    • Total: 30992
    Member since: August 16, 2013

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.