Archived topic
child css after all
1 reply · Started by luigi on November 17, 2017
Viewing posts 1–2 of 2
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
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' );
}
This archived topic is closed to new replies.
