admin管理员组文章数量:1297049
I'm not using the site title and tagline, so the headers in non-front pages are too thin to display the graphics I'm using.
I want to be able to control the height of the header in those other pages to display my graphics.
Thanks
I'm not using the site title and tagline, so the headers in non-front pages are too thin to display the graphics I'm using.
I want to be able to control the height of the header in those other pages to display my graphics.
Thanks
Share Improve this question edited May 6, 2017 at 14:37 Howdy_McGee♦ 20.9k24 gold badges91 silver badges177 bronze badges asked May 6, 2017 at 6:28 user119125user119125 11 Answer
Reset to default 0You can target several of the header elements using CSS. I'd use the site-branding like so:
.site-branding {
min-height: 50vh;
}
This would set the minimum height of the element to 50% of the viewport height.
You can add this to your child theme's style.css or via the customizer if you're running a WordPress version greater than 4.7.
本文标签: theme developmentHow do I control the header space in nonfront pages in Twenty Seventeen
版权声明:本文标题:theme development - How do I control the header space in non-front pages in Twenty Seventeen? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741647592a2390279.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论