<div class="oneColumnHeader">
<h1>
<strong><?php echo apply_filters('the_content', $header1) ?></strong>
<?php echo apply_filters('the_content', $text1) ?>
</h1>
</div>
我想显示:内联;在h1中可以做到这一点,但事实并非如此。 任何答案如何工作,所以他们不提出换行?
我的SCSS现在:
.oneColumnHeader {
text-align: center;
margin-bottom: 10px;
h1 {
font-weight: 500;
}
strong {
color: $orange-color;
}
}
答案 0 :(得分:0)
我明白了。
无需对SCSS文件做任何事情,只需简单地说:
<strong><?php echo apply_filters('the_content', $header1." </strong>".$text1) ?>