Browse code

Update

Benjamin Roth authored on23/03/2023 08:55:04
Showing4 changed files
... ...
@@ -83,6 +83,7 @@
83 83
 
84 84
       .event--image-wrapper {
85 85
         margin-bottom: 1.5rem;
86
+        @include aspect-ratio(1,1);
86 87
 
87 88
         h2 {
88 89
           margin-bottom: 1.5rem;
... ...
@@ -22,5 +22,21 @@
22 22
 
23 23
   .mod_iso_cumulativefilter.variant-v2 + .product_list {
24 24
     margin-top: 0;
25
+
26
+    .product--title {
27
+      -webkit-hyphens: none;
28
+      -moz-hyphens:    none;
29
+      -ms-hyphens:     none;
30
+      hyphens:         none;
31
+      .attributes {
32
+        @include font-size(20px);
33
+        font-weight: var(--bs-body-font-weight);
34
+        display: block;
35
+      }
36
+    }
37
+
38
+    .price {
39
+      font-weight: var(--bs-headline-font-weight);
40
+    }
25 41
   }
26 42
 }
... ...
@@ -4,7 +4,8 @@
4 4
         <?php if ($this->singleSRC): ?>
5 5
             <div class="event--image-wrapper">
6 6
 
7
-                <img class="swiper-lazy" data-src="<?= $this->singleSRC; ?>">
7
+                <?php $this->insert('picture_default', $this->arrData['picture']); ?>
8
+
8 9
             </div>
9 10
         <?php endif; ?>
10 11
 
... ...
@@ -20,10 +20,10 @@ use Isotope\Isotope;
20 20
                 <div class="content_container ">
21 21
                     <div class="product--title">
22 22
                         <h3 itemprop="name">
23
-                            <?php if ($this->href): ?>
24
-                            <a href="<?= $this->href; ?>"
25
-                               title="<?= $this->label_detail; ?>"><?php endif; ?><?= $this->highlightKeywords($this->generateAttribute('name')); ?><?php if ($this->href): ?></a>
26
-                        <?php endif; ?>
23
+                            <?php if ($this->href): ?><a href="<?= $this->href; ?>" title="<?= $this->label_detail; ?>"><?php endif; ?>
24
+                                <?= $this->highlightKeywords($this->generateAttribute('name')); ?>
25
+                                <span class="attributes"><?= $this->qualitaet ? $this->generateAttribute('qualitaet') : null; ?> <?= $this->geschmack ? $this->generateAttribute('geschmack') : null; ?></span>
26
+                            <?php if ($this->href): ?></a><?php endif; ?>
27 27
                         </h3>
28 28
                     </div>
29 29