我在我的css样式表中找到最小高度有困难。在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; ?>
这里是一张它看起来像的图片

时,min.height未被选中,或未使用.。

发布于 2021-06-20 21:11:30
我认为你需要查看模板设置。代码由javascript添加。
看你有一门“全身高”课。我想看看是否可以在模板设置中更改它。
您的模板名为“布拉格”,我可以看到它有文档-也许它值得一读。
css的快速解决方案-不推荐:
.top-banner.fullheight {
min-height: auto !important;
}https://stackoverflow.com/questions/68059789
复制相似问题