Commit b45ed34b by dhn

修复商品详情页导航菜单样式

parent f990d46d
...@@ -159,21 +159,21 @@ switch ($type = $block->getType()) { ...@@ -159,21 +159,21 @@ switch ($type = $block->getType()) {
$_item = null; $_item = null;
?> ?>
<style> <style>
.block{ .catalog-product-view #maincontent .block{
width:100%!important; width:100%!important;
max-width: 1600px; max-width: 1600px;
margin:0 auto!important; margin:0 auto!important;
} }
.block .title{ .catalog-product-view #maincontent .block .title{
text-align: center; text-align: center;
padding: 1.5rem 0; padding: 1.5rem 0;
} }
.block.crosssell{ .catalog-product-view #maincontent .block.crosssell{
padding-bottom:2rem; padding-bottom:2rem;
} }
@media(max-width: 768px) { @media(max-width: 768px) {
.block.crosssell{ .catalog-product-view #maincontent .block.crosssell{
display:none; display:none;
} }
} }
......
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