Commit 6f1c7f8e5e56f01788fb6b7ab33bca1d7b75b8eb
1 parent
f28d611c
-collection
Showing
2 changed files
with
8 additions
and
2 deletions
Show diff stats
common/modules/product/widgets/views/product_smart_similar.php
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | <div class="catalog_item"> | 11 | <div class="catalog_item"> |
12 | <div class="wrapper"> | 12 | <div class="wrapper"> |
13 | <?php if (!empty($product->events)) { ?> | 13 | <?php if (!empty($product->events)) { ?> |
14 | - <div class="banners_sale"> | 14 | + <div class="events events_not_link"> |
15 | 15 | ||
16 | <?php | 16 | <?php |
17 | foreach($product->events as $event){ | 17 | foreach($product->events as $event){ |
frontend/web/css/css_header.css
@@ -27138,10 +27138,16 @@ ul.product-special li.promo div { | @@ -27138,10 +27138,16 @@ ul.product-special li.promo div { | ||
27138 | .new_collection .events { | 27138 | .new_collection .events { |
27139 | position: absolute; | 27139 | position: absolute; |
27140 | z-index: 99; | 27140 | z-index: 99; |
27141 | - background: #fff; | ||
27142 | top: 0; | 27141 | top: 0; |
27143 | left: 0; | 27142 | left: 0; |
27144 | } | 27143 | } |
27144 | +.new_collection .events_not_link img { | ||
27145 | + background:#fff; | ||
27146 | +} | ||
27147 | +.new_collection .events_not_link img:first-child { | ||
27148 | + padding-bottom: 5px; | ||
27149 | + background:none; | ||
27150 | +} | ||
27145 | @media(max-width: 1200px){ | 27151 | @media(max-width: 1200px){ |
27146 | .collection .catalog_product_list.view_table.new_collection .catalog_item { | 27152 | .collection .catalog_product_list.view_table.new_collection .catalog_item { |
27147 | width: 50%; | 27153 | width: 50%; |