Update/calyx pattern fixes (#6749)
* Cayx: Update column widths in the home page pattern. * Calyx: Fix footer pattern.
This commit is contained in:
parent
f1986d4bc2
commit
969ce23dc0
2 changed files with 9 additions and 10 deletions
|
@ -3,17 +3,18 @@
|
|||
* Title: Coming Soon
|
||||
* Slug: calyx/coming-soon
|
||||
* Inserter: yes
|
||||
* Categories: featured
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/pattern-food.jpeg","dimRatio":0,"overlayColor":"primary","focalPoint":{"x":"1.00","y":"0.51"},"minHeight":100,"minHeightUnit":"vh","align":"full"} -->
|
||||
<div class="wp-block-cover alignfull" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/pattern-food.jpeg" style="object-position:100% 51%" data-object-fit="cover" data-object-position="100% 51%"/><div class="wp-block-cover__inner-container"><!-- wp:columns {"align":"full"} -->
|
||||
<div class="wp-block-columns alignfull"><!-- wp:column {"width":"65%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:65%"></div>
|
||||
<div class="wp-block-columns alignfull"><!-- wp:column {"width":"60%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:60%"></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"35%","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white"} -->
|
||||
<div class="wp-block-column has-white-color has-text-color has-link-color" style="flex-basis:35%"><!-- wp:paragraph -->
|
||||
<!-- wp:column {"width":"40%","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white"} -->
|
||||
<div class="wp-block-column has-white-color has-text-color has-link-color" style="flex-basis:40%"><!-- wp:paragraph -->
|
||||
<p><strong><?php echo esc_html__( 'OAK & ANCHOR', 'calyx' ); ?></strong></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
|
|
|
@ -6,11 +6,9 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","bottom":"30px"}}}} -->
|
||||
<div class="wp-block-group" style="padding-top:80px;padding-bottom:30px">
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","bottom":"30px"}}}} -->
|
||||
<div class="wp-block-group" style="padding-top:80px;padding-bottom:30px"><!-- wp:paragraph {"align":"center","className":"has-small-font-size"} -->
|
||||
<p class="has-text-align-center has-small-font-size">
|
||||
<?php
|
||||
printf(
|
||||
|
@ -19,7 +17,7 @@
|
|||
'<a href="' . esc_url( __( 'https://wordpress.com', 'calyx' ) ) . '" rel="nofollow">WordPress.com</a>'
|
||||
);
|
||||
?>
|
||||
<!-- /wp:paragraph -->
|
||||
</p><!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue