From 150827e52f0b3157bab8f9c81fb61016ddc662bc Mon Sep 17 00:00:00 2001 From: Dmitry Gorodnichy Date: Tue, 28 May 2024 17:03:19 +0300 Subject: [PATCH 1/2] Minimize style.css --- .../static => static/assets/css}/style.css | 3 ++- .../beaver/layouts/partials/page/header.html | 21 +++++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) rename {themes/beaver/static => static/assets/css}/style.css (98%) diff --git a/themes/beaver/static/style.css b/static/assets/css/style.css similarity index 98% rename from themes/beaver/static/style.css rename to static/assets/css/style.css index 9e682f749..81be6f25b 100644 --- a/themes/beaver/static/style.css +++ b/static/assets/css/style.css @@ -1,5 +1,5 @@ /* -Theme Name: Beaver Builder Theme +Theme Name: Beaver Builder Theme1 Theme URI: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page Version: 1.7.14 Description: A customizable theme with a simple yet robust set of theme options. @@ -178,3 +178,4 @@ Appearance > Theme Settings > Code or create a child theme. color: rgb(28, 100, 242); background-color: rgb(235, 245, 255); } + diff --git a/themes/beaver/layouts/partials/page/header.html b/themes/beaver/layouts/partials/page/header.html index a8d7c60e5..2395ed4a7 100644 --- a/themes/beaver/layouts/partials/page/header.html +++ b/themes/beaver/layouts/partials/page/header.html @@ -91,16 +91,16 @@ {{ else if eq .Type "use-cases" }} - + {{ else if eq .Params.slug "blog" }} {{ else if .IsHome }} - + - - + + {{ else if eq .Params.slug "contact-us" }} {{ else if eq .Params.slug "about-us" }} @@ -111,10 +111,10 @@ {{ if eq .Params.slug "careers" }} - + {{ else if .IsHome }} - + {{ else if eq .Params.slug "clients" }} @@ -156,8 +156,11 @@ })(window,document,'script','dataLayer','GTM-NNP7VJJ'); - + {{ $style := resources.Get "/assets/css/style.css" | minify | fingerprint }} + + + @@ -234,7 +237,7 @@