[Support request] child css after all

Home Forums Support child css after all

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

    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

    GeneratePress 1.4
    GP Premium 1.5.3
    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.