Skip to content

Beaver Builder Theme 1010 Initial Setup 1

In this video we get settled with Beaver Builder Theme and Child Theme. We add a small customization to the child theme to help prevent our style sheet from being cached (so we can’t see our changes).
** I’m just putting the basics of those 2 lines of code from the video. You can adjust this based on the name of your style sheet. You should also just paste this below the existing function so you can more clearly see which parts to delete. ***

final class FLChildTheme {
/**
* Enqueues scripts and styles.
*
* @return void
*/
static public function enqueue_scripts()
{
$css_file = get_stylesheet_directory() . ‘/madcow-styles.css’;
wp_enqueue_style( ‘fl-child-theme’, FL_CHILD_THEME_URL . ‘/madcow-styles.css’, NULL, filemtime($css_file) );
}
}