Save
This commit is contained in:
@@ -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
@@ -4282,3 +4282,8 @@ form {
|
||||
}
|
||||
}
|
||||
}
|
||||
.elementor-cta-absolute-link {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user