From 08c284339c5a736342c65110c0ec169e89b60a71 Mon Sep 17 00:00:00 2001 From: g <> Date: Mon, 13 Apr 2020 18:18:15 +0300 Subject: [PATCH] add main page css file for all pages --- htdocs/wp-content/themes/lawcarta/functions.php | 1 + 1 file changed, 1 insertion(+) 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']);