[Support request] child css after all

Home Forums Support [Support request] child css after all

Home Forums Support child css after all

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #426581
    luigi

    Hi
    I spent many time searching the forum but didn’t find a replay
    I created the child theme then in order to use bootstrap. I loaded it in the footer using wp_footer hook

    now I want to oveeride some classes
    it’s possibile to load the style.css file of my child theme after all aother css?

    ps:also metaslider is loaded after my style.css and I need to override it too

    thank you

    #426913
    Tom
    Lead Developer
    Lead Developer

    You can use wp_enqueue_style():

    add_action( 'wp_enqueue_scripts', 'tu_load_style', 500 );
    function tu_load_style() {
        wp_enqueue_style( 'custom-css-file', 'URL TO YOUR FILE' );
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.