This commit is contained in:
Roman Pyrih
2025-09-24 12:47:57 +02:00
parent e01874a1e4
commit 865d89efe1
4 changed files with 10 additions and 2 deletions

View File

@@ -1637,6 +1637,9 @@ class WidgetCallToAction extends WidgetBase
<?php } ?>
<?php if ($print_content) { ?>
<div class="elementor-cta-content">
<?php if (!empty($settings['link']['url'])) : ?>
<a class="elementor-cta-absolute-link" href="<?php echo $settings['link']['url']; ?>"></a>
<?php endif; ?>
<?php if ('image' === $settings['graphic_element'] && !empty($settings['graphic_image']['url'])) { ?>
<div <?php $this->printRenderAttributeString('graphic_element'); ?>>
<?php echo GroupControlImageSize::getAttachmentImageHtml($settings, 'graphic_image'); ?>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4282,3 +4282,8 @@ form {
}
}
}
.elementor-cta-absolute-link {
position: absolute;
inset: 0;
z-index: 1;
}