我在我的 css 样式表中找到 min-height 时遇到问题。在Chrome Developer中,在Element.Style中是该选项,即当我取消选中它时,要素映像进入自动调整大小,并且当检查最小高度时,特征图像,它会缩放。有人可以帮助我在哪里找到它,或者我如何覆盖,或者如何找到 min.height 的类并覆盖它。
模板代码
?>
<div class="project-detail-splitted">
<?php if (!empty($prague_post_options['active_title'])): ?>
<section class="container-fluid top-banner no-padd simple fullheight light">
<span class="overlay"></span>
<?php the_post_thumbnail( 'full', array('class'=>'s-img-switch') ); ?>
<div class="content">
<?php if (!empty($prague_post_options['subtitle'])): ?>
<div class="subtitle">
<?php echo esc_html( $prague_post_options['subtitle'] ); ?>
</div>
<?php endif ?>
<?php the_title( '<h1 class="title">', '</h1>' ); ?>
</div>
</section>
<?php endif; ?>
我认为您需要查看模板设置。代码是由 javascript 添加的。
看到你有一个“全高”类。我想看看它是否可以在模板设置中更改。
你的模板叫做“布拉格”,我可以看到它有文档——也许值得一读。
css的快速解决方案 - 不推荐:
.top-banner.fullheight {
min-height: auto !important;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句