Thank-you and also thanks to some code I found elsewehere, I was also able to get it enqueued via a wp-plugin called Code Snippets but it would have also worked in the functions.php file as well.
<?php
function pwwp_enqueue_my_scripts() {
// jQuery is stated as a dependancy of bootstrap-js - it will be loaded by WordPress before the BS scripts
wp_enqueue_script( 'bootstrap-js', '//stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js', array('jquery'), true); // all the bootstrap javascript goodness
}
add_action('wp_enqueue_scripts', 'pwwp_enqueue_my_scripts');
function pwwp_enqueue_my_styles() {
wp_enqueue_style( 'bootstrap', '//stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' );
// this will add the stylesheet from it's default theme location if your theme doesn't already
//wp_enqueue_style( 'my-style', get_template_directory_uri() . '/style.css');
}
add_action('wp_enqueue_scripts', 'pwwp_enqueue_my_styles');
?>
And here is the one used for TailwindCSS
<?php
function pwwp_enqueue_my_styles() {
wp_enqueue_style( 'bootstrap', '//unpkg.com/[email protected]/dist/tailwind.min.css' );
// this will add the stylesheet from it's default theme location if your theme doesn't already
//wp_enqueue_style( 'my-style', get_template_directory_uri() . '/style.css');
}
add_action('wp_enqueue_scripts', 'pwwp_enqueue_my_styles');
?>