diff --git a/assets/_scss/_header_additional-class.scss b/assets/_scss/_header_additional-class.scss index 3e254c7..a0c6e27 100644 --- a/assets/_scss/_header_additional-class.scss +++ b/assets/_scss/_header_additional-class.scss @@ -1,10 +1,6 @@ .site-logo--set { display: grid; - .wp-block-site-title { - font-size: clamp(12px, calc((100vw - 360px) * (10 / (1200 - 360)) + 12px), 22px); - } - .wp-block-site-tagline { line-height: 1.4; font-size: clamp(10px, calc((100vw - 360px) * (4 / (1200 - 360)) + 10px), 14px); diff --git a/theme.json b/theme.json index 3d5f12f..10f20d1 100644 --- a/theme.json +++ b/theme.json @@ -317,7 +317,8 @@ "core/site-title": { "typography": { "fontWeight": "700", - "lineHeight": "var(--wp--custom--typography--line-height--heading)" + "lineHeight": "var(--wp--custom--typography--line-height--heading)", + "fontSize": "clamp(12px, calc((100vw - 360px) * (10 / (1200 - 360)) + 12px), 22px)" }, "elements": { "link": {