• Hello,

    I am currently trying to implement some custom CSS on the Checkout page of WooCommerce. I have another thread for that issue here: https://ww.wp.xz.cn/support/topic/checkout-order-summary-shipping-option-line-break

    My question is, how do I properly enqueue “custom.css” so that my customizations take effect?

    Here are the first few lines of my child theme’s “functions.php” file which handles enqueuing of “style.css” per the instructions at https://codex.ww.wp.xz.cn/Child_Themes

    hp
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }

    How do I edit this to also enqueue “custom.css”?

The topic ‘Child theme – how to properly enqueue "custom.css"?’ is closed to new replies.