We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5b1a74 commit 19fcf96Copy full SHA for 19fcf96
view/frontend/templates/label-css.phtml
@@ -6,16 +6,18 @@
6
?>
7
<?php
8
/** @var $block \Magefan\ProductLabel\Block\LabelCss */
9
+/** @var \Magefan\Community\Api\HyvaThemeDetectionInterface $mfHyvaThemeDetection */
10
11
12
<style>
13
/*.mf-label-container {display: block;top:0;right: 0;left: 0;bottom: 0; width: 100%; height: 100%}*/
14
.mf-label-container .mf-label {position: absolute; z-index: 9; width: fit-content;}
15
.mf-label-container .mf-label.mf-label-position-top-left {top: 0;left: 0;}
16
- /* HYVA START */
17
+ <?php if ($mfHyvaThemeDetection->execute()) { ?>
18
.product-item-photo {position: relative;}
- /* HYVA END */
19
+ <?php } ?>
20
+
21
</style>
22
23
0 commit comments