在 wordpress css 样式 sheet 中找不到最小高度,我该如何覆盖它
cannot find min-height in wordpress css style sheet, how can i override it
我在找到我的 css 风格 sheet 中的最小高度时遇到问题。
在chrome开发人员中,在element.style的是该选项中,当我取消选中时,功能映像会在自动调整大小中,并且在检查了最高点时,功能映像会缩放。
有人可以帮我在哪里找到它或者我如何覆盖,或者如何找到 min.height 的 class 并覆盖它。
模板代码
?>
<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未勾选,或未使用时。
我认为您需要查看模板设置。代码由javascript.
添加
看你有一个'full-height'class。我会看看是否可以在模板设置中更改它。
您的模板名为 'Prague',我看到它有文档 - 也许值得一读。
css 的快速解决方案 - 不推荐:
.top-banner.fullheight {
min-height: auto !important;
}
我在找到我的 css 风格 sheet 中的最小高度时遇到问题。 在chrome开发人员中,在element.style的是该选项中,当我取消选中时,功能映像会在自动调整大小中,并且在检查了最高点时,功能映像会缩放。 有人可以帮我在哪里找到它或者我如何覆盖,或者如何找到 min.height 的 class 并覆盖它。
模板代码
?>
<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未勾选,或未使用时。
我认为您需要查看模板设置。代码由javascript.
添加看你有一个'full-height'class。我会看看是否可以在模板设置中更改它。
您的模板名为 'Prague',我看到它有文档 - 也许值得一读。
css 的快速解决方案 - 不推荐:
.top-banner.fullheight {
min-height: auto !important;
}