Commit 95b99090a20ca791504ddcd9689bdecb028959df
1 parent
abe34b15
-collection
Showing
2 changed files
with
34 additions
and
10 deletions
Show diff stats
common/modules/product/widgets/views/product_smart_similar.php
... | ... | @@ -30,22 +30,23 @@ |
30 | 30 | |
31 | 31 | </div> |
32 | 32 | |
33 | - <div class="style title"> | |
34 | - <?= Html::a($product->name, | |
35 | - [ | |
36 | - 'catalog/product', | |
37 | - 'product' => $product->alias, | |
38 | - ] | |
39 | - ) ?> | |
40 | - </div> | |
33 | +<!-- <div class="style title">--> | |
34 | +<!-- --><?//= Html::a($product->name, | |
35 | +// [ | |
36 | +// 'catalog/product', | |
37 | +// 'product' => $product->alias, | |
38 | +// ] | |
39 | +// ) ?> | |
40 | +<!-- </div>--> | |
41 | 41 | |
42 | - <div class="style title-name_"> | |
42 | + <div class="style title-name_ title_name-collect"> | |
43 | 43 | <a href="<?= Url::to([ |
44 | 44 | 'catalog/product', |
45 | 45 | 'product' => $product->alias |
46 | 46 | ]) ?>" title="<?= $product->fullname . ' ' . $product->category->name ?>"> |
47 | - <p><span><?= $product->fullname ?></span></p> | |
48 | 47 | <p><span><?= $product->category->name ?></span></p> |
48 | + <p><span><?= $product->fullname ?></span></p> | |
49 | + | |
49 | 50 | </a> |
50 | 51 | |
51 | 52 | </div> | ... | ... |
frontend/web/css/css_header.css
... | ... | @@ -27035,4 +27035,27 @@ ul.product-special li.promo div { |
27035 | 27035 | .new_collection .price { |
27036 | 27036 | text-align: center !important; |
27037 | 27037 | margin-top: 11px !important; |
27038 | +} | |
27039 | +.title_name-collect { | |
27040 | + text-align: center; | |
27041 | +} | |
27042 | +.title-name_ a p { | |
27043 | + font-size: 16px; | |
27044 | + width: 100%; | |
27045 | + | |
27046 | + overflow: hidden; | |
27047 | + float: left; | |
27048 | + | |
27049 | + font-weight: 700; | |
27050 | + height: 39px; | |
27051 | + line-height: 19px; | |
27052 | + text-transform: none; | |
27053 | +} | |
27054 | +.title-name_ a p:first-child { | |
27055 | + font-size: 14px; | |
27056 | + line-height: 13px; | |
27057 | + height: 26px; | |
27058 | + text-transform: lowercase; | |
27059 | + font-weight: normal; | |
27060 | + | |
27038 | 27061 | } |
27039 | 27062 | \ No newline at end of file | ... | ... |