From c4b0512471ed3b2c82ca38d08d119dd7564d7706 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 30 May 2024 18:57:48 +0500 Subject: [PATCH] style post titles --- theme.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/theme.json b/theme.json index 8ed1069..9e31d8c 100644 --- a/theme.json +++ b/theme.json @@ -604,6 +604,26 @@ "lineHeight": "1.45" } }, + "core/post-title": { + "color": { + "text": "var(--wp--preset--color--black)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--black)" + } + } + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--instrument-sans-condensed)", + "fontSize": "var(--wp--preset--font-size--huge)", + "fontStyle": "normal", + "fontWeight": "700", + "letterSpacing": "-1.12px", + "lineHeight": "1.0" + } + }, "core/quote": { "color": { "text": "var(--wp--preset--color--black)" @@ -625,7 +645,7 @@ } } }, - "css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}", + "css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}", "elements": { "caption": { "color": {