Skip to content

Commit

Permalink
Archeo: add CSS for mobile menu font size (#5644)
Browse files Browse the repository at this point in the history
* Add CSS for mobile menu font size

* Remove CSS patch

* Move navigation font size into theme.json
  • Loading branch information
mikachan authored Mar 11, 2022
1 parent 7b5de41 commit 42321fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion archeo/parts/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--outer)","top":"var(--wp--custom--spacing--outer)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--outer);padding-bottom:var(--wp--custom--spacing--outer)"><!-- wp:site-title /-->

<!-- wp:navigation {"overlayBackgroundColor":"foreground","overlayTextColor":"background","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left"},"style":{"typography":{"fontStyle":"normal"},"spacing":{"blockGap":"50px"}},"fontSize":"small"} -->
<!-- wp:navigation {"overlayBackgroundColor":"foreground","overlayTextColor":"background","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left"},"style":{"typography":{"fontStyle":"normal"},"spacing":{"blockGap":"50px"}}} -->
<!-- wp:page-list /-->
<!-- /wp:navigation --></div>
<!-- /wp:group --></div>
Expand Down
5 changes: 5 additions & 0 deletions archeo/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@
"lineHeight": "1.1"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-comments": {
"elements": {
"h3": {
Expand Down

0 comments on commit 42321fb

Please sign in to comment.