🐞 fix: Update button styles and add home contact positioning
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
This commit is contained in:
@@ -33,4 +33,11 @@
|
||||
.contact-block__content {
|
||||
|
||||
}
|
||||
|
||||
&.home-contact {
|
||||
bottom: -25%;
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,15 +41,7 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $button ) : ?>
|
||||
<x-button
|
||||
btnclasses="contact-block__cta button"
|
||||
element="a"
|
||||
url="<?php echo esc_url( $button['url'] ?? '#' ); ?>"
|
||||
target="<?php echo esc_attr( $button['target'] ?? '_self' ); ?>"
|
||||
title="<?php echo esc_attr( $button['title'] ?? '' ); ?>"
|
||||
color="secondary"
|
||||
variant="outline"
|
||||
></x-button>
|
||||
<a class="contact-block__cta button text-white!" href="<?php echo esc_url( $button['url'] ?? '#' ); ?>" title="<?php echo esc_attr( $button['title'] ?? '' ); ?>" aria-label="<?php echo esc_attr( $button['title'] ?? '' ); ?>" data-button-color="secondary" data-button-variant="outline"><?php echo esc_html( $button['title'] ); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user