Home › Forums › Support › Loading a stylesheet before the theme css files › Reply To: Loading a stylesheet before the theme css files
May 6, 2016 at 11:22 am
#192305
Tom
Lead Developer
Lead Developer
Hi there,
You could set a high priority to your enqueue function:
add_action( 'wp_enqueue_scripts','your_custom_scripts', 1 );
function your_custom_scripts()
{
wp_enqueue_style( 'w3', 'URL TO THE FILE', false, '1.0', 'all' );
}
Something like that should do it 🙂