From 0cce6bf1ee886c4b7af887ddf070212982bca23d Mon Sep 17 00:00:00 2001 From: Ned Palacios Date: Sat, 20 Apr 2024 18:57:02 +0800 Subject: [PATCH] fix(hero): add custom hero title class opt --- front-page.php | 1 + template-parts/landing-page/hero.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/front-page.php b/front-page.php index d29f554..79dc2af 100755 --- a/front-page.php +++ b/front-page.php @@ -23,6 +23,7 @@ 'cta_button_text' => devcon_msummit2024_render_text('cta_button_text', return: true), 'cta_button_url' => devcon_msummit2024_get_theme_mod('cta_button_url', ''), 'inner_container_padding' => 'py-16 md:py-32 h-[93vh] md:h-auto', + 'hero_title_classes' => 'text-6xl md:tracking-wide table-caption sm:block [word-spacing:9999rem] sm:[word-spacing:unset]', ]); ?> diff --git a/template-parts/landing-page/hero.php b/template-parts/landing-page/hero.php index ba42d39..f84e56f 100644 --- a/template-parts/landing-page/hero.php +++ b/template-parts/landing-page/hero.php @@ -11,6 +11,7 @@ 'cta_button_text' => '', 'cta_button_url' => '', 'background_waves' => true, + 'hero_title_classes' => 'text-6xl tracking-wide', 'container_width_class' => 'container', 'outer_container_padding' => 'pt-16', 'inner_container_padding' => 'py-32', @@ -35,7 +36,7 @@ class="absolute top-0 inset-x-0 lg:hidden h-full w-full bg-right bg-no-repeat bg <?php echo get_bloginfo('name') ?> -

+