diff --git a/htdocs/wp-content/themes/lawcarta/functions.php b/htdocs/wp-content/themes/lawcarta/functions.php index 9fd901f..1efeb11 100644 --- a/htdocs/wp-content/themes/lawcarta/functions.php +++ b/htdocs/wp-content/themes/lawcarta/functions.php @@ -70,6 +70,7 @@ add_action('wp_enqueue_scripts', function () { if(is_front_page()){ wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css')); }else{ + wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css')); wp_enqueue_style('lawcarta-external-style', get_theme_file_uri('/assets/css/style.min.css'), ['jquery-ui']); wp_enqueue_style('lawcarta-newcss', get_theme_file_uri('/assets/css/newcss.min.css'), ['lawcarta-external-style']); wp_enqueue_style('lawcarta-custom', get_theme_file_uri('/assets/css/custom.css'), ['lawcarta-newcss']);