How to ensure the Beaver Builder child theme CSS cache is cleared

When you make a change to your Beaver Builder child theme CSS, the changes may not appear for people who have visited your site unless they clear their cache.

But by changing the code in bb-theme-child/functions.php from:

add_action( 'wp_enqueue_scripts', 'FLChildTheme::enqueue_scripts', 1000 );


function enqueue_bb_child_theme_style() {
   wp_enqueue_style( 'fl-child-theme', FL_CHILD_THEME_URL . '/style.css', array(), wp_get_theme()->get('Version') );
add_action( 'wp_enqueue_scripts', 'enqueue_bb_child_theme_style', 1000 );

Then updating the Version: in the header of your bb-theme-child/style.css, you’ll ensure that most browsers will grab your updated CSS.