Skip to content

Commit

Permalink
Issue #44 - rework front-page.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Apr 8, 2021
1 parent a7a3b5f commit 0ab6cee
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
7 changes: 3 additions & 4 deletions block-template-parts/page-content.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:group {"className":"page","backgroundColor":"background"} -->
<div class="wp-block-group page has-background-background-color has-background"><div class="wp-block-group__inner-container">
<!-- wp:post-title {"backgroundColor":"background"} /-->
<!-- wp:group {"backgroundColor":"background","className":"page","layout":{"contentSize":"80%","wideSize":"90%"}} -->
<div class="wp-block-group page has-background-background-color has-background"><!-- wp:post-title /-->

<!-- wp:post-content /--></div></div>
<!-- wp:post-content /--></div>
<!-- /wp:group -->
4 changes: 1 addition & 3 deletions block-template-parts/search.html
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<!-- wp:group -->
<div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search this website","width":50,"widthUnit":"%","buttonText":"Search"} /--></div></div>
<!-- /wp:group -->
<!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search this website","width":50,"widthUnit":"%","buttonText":"Search"} /-->
13 changes: 8 additions & 5 deletions block-templates/front-page.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<div class="WP_DEBUG">front-page.html</div>
<!-- wp:html -->
<div class="WP_DEBUG">front-page.html 1507</div>
<!-- /wp:html -->


<!-- wp:template-part{ "slug":"issue-39", "theme":"fizzie" } /-->

<!-- wp:template-part {"slug":"header","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"header","theme":"fizzie", "align":"full","layout":{"inherit":true}, "tagName":"header" } /-->

<!-- wp:template-part {"slug":"page-content","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"page-content","theme":"fizzie","layout":{"inherit":true} } /-->

<!-- wp:template-part {"slug":"search","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"search","theme":"fizzie","layout":{"contentSize":"80%","wideSize":"90%"}} /-->

<!-- wp:template-part {"slug":"page-footer","theme":"fizzie"} /-->
<!-- wp:template-part {"slug":"page-footer","theme":"fizzie", "align":"full"} /-->

<!-- wp:template-part {"slug":"footer","theme":"fizzie"} /-->

Expand Down
8 changes: 6 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ img {
.alignright figcaption {
clear: right;
}
*/
.alignleft img,
.alignleft figcaption {
float: left;
Expand All @@ -343,7 +343,7 @@ img {
margin-right: auto;
}

*/




Expand Down Expand Up @@ -678,4 +678,8 @@ div.wp-site-blocks > div.WP_DEBUG:first-of-type:hover {
.wp-block-oik-sb-toolicons,
.wp-block-oik-sb-toolicons * {
margin: 0;
}

.wp-block-group.has-background {
padding: 0px 0px 0px 5px;
}

0 comments on commit 0ab6cee

Please sign in to comment.