css GeneratePress响应标头
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css GeneratePress响应标头相关的知识,希望对你有一定的参考价值。
/* # GENERATEPRESS HEADER # */
/* GeneratePress header fix for phablets & small tablets
Change the 1024px value in two places to where you have nav/logo overlap */
@media(min-width: 841px) {
.inside-header {
display: flex;
align-items: center;
}
.site-logo {
width: 20%;
}
.site-logo:not(.sticky-logo) img {
width: 140px;
}
.nav-float-right .inside-header .main-navigation {
width: 80%;
}
#menu-main-nav {
display: flex;
justify-content: flex-end;
}
#sticky-navigation {
padding: 10px;
}
}
@media (min-width:768px) AND (max-width:840px) {
.inside-header {
display: flex;
flex-flow: row wrap;
justify-content: center;
padding: 20px 0 0 0;
}
.site-logo img {
width: 140px;
}
#site-navigation {
min-width: 768px;
padding: 10px;
text-align: center;
}
#site-navigation ul li {
display: inline-block;
float: none;
}
}
*/
以上是关于css GeneratePress响应标头的主要内容,如果未能解决你的问题,请参考以下文章
css 在GeneratePress上移动和平板电脑之间的堆叠标头
css GeneratePress Wordsmith Site CSS
css 徽标大小CSS - GeneratePress
css GeneratePress的自定义CSS
php GeneratePress的facetwp模板css
css 徽标/导航重叠的GeneratePress标题修复