Skip to content

Commit

Permalink
Podbase: adds sidebar to page template (#8235)
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueiamarino authored Oct 4, 2024
1 parent 30f452e commit f7fe0bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion podbase/patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"top","width":"30%"} -->
<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:30%"><!-- wp:navigation {"overlayMenu":"always","icon":"menu","hasIcon":false,"overlayTextColor":"primary","style":{"layout":{"selfStretch":"fit","flexSize":null},"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"small","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"vertical"}} /--></div>
<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:30%"><!-- wp:navigation {"overlayMenu":"always","icon":"menu","hasIcon":false,"overlayBackgroundColor":"background","overlayTextColor":"primary","style":{"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"vertical"}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
2 changes: 1 addition & 1 deletion podbase/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- /wp:column -->

<!-- wp:column {"width":"30%","layout":{"type":"default"}} -->
<div class="wp-block-column" style="flex-basis:30%"></div>
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","area":"uncategorized"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

Expand Down
4 changes: 3 additions & 1 deletion podbase/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@
"blockGap": "var(--wp--preset--spacing--20)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0rem",
"lineHeight": "1",
"textTransform": "uppercase"
Expand Down

0 comments on commit f7fe0bc

Please sign in to comment.