🔵 other: Alignment fix
This commit is contained in:
@@ -54,8 +54,8 @@ if ( $vidBlock && strpos( $vidBlock, '<iframe' ) !== false ) {
|
|||||||
<h2 class=""><?php echo esc_html( $heading ); ?></h2>
|
<h2 class=""><?php echo esc_html( $heading ); ?></h2>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( ! empty( $subHeading ) ) : ?>
|
<?php if ( ! empty( $subHead ) ) : ?>
|
||||||
<h3 class=""><?php echo esc_html( $subHeading ); ?></h3>
|
<h3 class=""><?php echo esc_html( $subHead ); ?></h3>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( ! empty( $content ) ) : ?>
|
<?php if ( ! empty( $content ) ) : ?>
|
||||||
@@ -64,8 +64,8 @@ if ( $vidBlock && strpos( $vidBlock, '<iframe' ) !== false ) {
|
|||||||
|
|
||||||
<?php if ( ! empty( $ctas ) ) : ?>
|
<?php if ( ! empty( $ctas ) ) : ?>
|
||||||
<div class="reset flex flex-wrap justify-center lg:justify-start gap-6 mt-8">
|
<div class="reset flex flex-wrap justify-center lg:justify-start gap-6 mt-8">
|
||||||
<?php foreach ( $ctas as $cta ) : ?>
|
|
||||||
<?php
|
<?php
|
||||||
|
foreach ( $ctas as $cta ) :
|
||||||
$ctaLink = $cta['link'];
|
$ctaLink = $cta['link'];
|
||||||
$ctaUrl = $ctaLink['url'] ?? '#';
|
$ctaUrl = $ctaLink['url'] ?? '#';
|
||||||
$ctaTarget = $ctaLink['target'] ?? '_self';
|
$ctaTarget = $ctaLink['target'] ?? '_self';
|
||||||
@@ -80,6 +80,7 @@ if ( $vidBlock && strpos( $vidBlock, '<iframe' ) !== false ) {
|
|||||||
$ctaURL = '#';
|
$ctaURL = '#';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<x-button
|
<x-button
|
||||||
btnclasses="button text-center"
|
btnclasses="button text-center"
|
||||||
element="a"
|
element="a"
|
||||||
|
|||||||
Reference in New Issue
Block a user