extended theme spacing rules to apply to query loop children too
This commit is contained in:
parent
2c61032602
commit
e73504639e
3 changed files with 9 additions and 0 deletions
|
@ -100,6 +100,7 @@
|
|||
.site-main > article > *, // apply vertical margins to article level
|
||||
.site-main > .not-found > *, // apply vertical margins to article level
|
||||
.entry-content > *,
|
||||
.wp-block-query .wp-block-post > *,
|
||||
[class*="inner-container"] > *,
|
||||
.wp-block-template-part > *,
|
||||
.widget-area > *,
|
||||
|
|
|
@ -460,6 +460,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *,
|
||||
.site-main > .not-found > *,
|
||||
.entry-content > *,
|
||||
.wp-block-query .wp-block-post > *,
|
||||
[class*="inner-container"] > *,
|
||||
.wp-block-template-part > *,
|
||||
.widget-area > *,
|
||||
|
@ -473,6 +474,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *,
|
||||
.site-main > .not-found > *,
|
||||
.entry-content > *,
|
||||
.wp-block-query .wp-block-post > *,
|
||||
[class*="inner-container"] > *,
|
||||
.wp-block-template-part > *,
|
||||
.widget-area > *,
|
||||
|
@ -486,6 +488,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *:first-child,
|
||||
.site-main > .not-found > *:first-child,
|
||||
.entry-content > *:first-child,
|
||||
.wp-block-query .wp-block-post > *:first-child,
|
||||
[class*="inner-container"] > *:first-child,
|
||||
.wp-block-template-part > *:first-child,
|
||||
.widget-area > *:first-child,
|
||||
|
@ -497,6 +500,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *:last-child,
|
||||
.site-main > .not-found > *:last-child,
|
||||
.entry-content > *:last-child,
|
||||
.wp-block-query .wp-block-post > *:last-child,
|
||||
[class*="inner-container"] > *:last-child,
|
||||
.wp-block-template-part > *:last-child,
|
||||
.widget-area > *:last-child,
|
||||
|
|
|
@ -460,6 +460,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *,
|
||||
.site-main > .not-found > *,
|
||||
.entry-content > *,
|
||||
.wp-block-query .wp-block-post > *,
|
||||
[class*="inner-container"] > *,
|
||||
.wp-block-template-part > *,
|
||||
.widget-area > *,
|
||||
|
@ -473,6 +474,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *,
|
||||
.site-main > .not-found > *,
|
||||
.entry-content > *,
|
||||
.wp-block-query .wp-block-post > *,
|
||||
[class*="inner-container"] > *,
|
||||
.wp-block-template-part > *,
|
||||
.widget-area > *,
|
||||
|
@ -486,6 +488,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *:first-child,
|
||||
.site-main > .not-found > *:first-child,
|
||||
.entry-content > *:first-child,
|
||||
.wp-block-query .wp-block-post > *:first-child,
|
||||
[class*="inner-container"] > *:first-child,
|
||||
.wp-block-template-part > *:first-child,
|
||||
.widget-area > *:first-child,
|
||||
|
@ -497,6 +500,7 @@ Included in theme screenshot and in block patterns.
|
|||
.site-main > article > *:last-child,
|
||||
.site-main > .not-found > *:last-child,
|
||||
.entry-content > *:last-child,
|
||||
.wp-block-query .wp-block-post > *:last-child,
|
||||
[class*="inner-container"] > *:last-child,
|
||||
.wp-block-template-part > *:last-child,
|
||||
.widget-area > *:last-child,
|
||||
|
|
Loading…
Reference in a new issue