Commit 106d2ed7 by lmf

优化手机版新款产品模块样式

parent 9acae16e
......@@ -34,7 +34,7 @@ if ($exist = ($block->getProductCollection() && $block->getProductCollection()->
<?php if ($exist) :?>
<div class="block widget block-new-products <?= /* @noEscape */ $mode ?>">
<div class="block-title">
<strong role="heading" aria-level="2" class="flashsale-title">NEW ARRIVALS</strong>
<strong role="heading" aria-level="2" >NEW ARRIVALS</strong>
</div>
<div class="block-content home-new-product">
<?= /* @noEscape */ '<!-- ' . $image . '-->' ?>
......@@ -165,20 +165,33 @@ if ($exist = ($block->getProductCollection() && $block->getProductCollection()->
display: flex;
justify-content: space-around;
align-items: flex-end;
width: 50%;
}
strong.flashsale-title:hover {
.block .block-title strong:hover {
text-decoration: underline;
}
strong.flashsale-title {
.block .block-title strong {
background: #fff;
font-size: 24px;
font-weight: bold;
font-weight: bold !important;
color: #000000;
margin: 0px;
padding: 40px;
text-align: center;
}
button.tocart {
button.action.tocart.primary {
background: #000;
}
ol.product-items.widget-new-grid{
padding: 5px;
margin-top: 30px;
margin-bottom: 30px;
}
.block-content.home-new-product{
display: contents;
}
.block.widget.block-new-products.grid{
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment