Html 粘性菜单字体大小
我对css很陌生。当我们向下滚动时,我希望保持字体大小不变,但我不确定如何使用css实现这一点 谢谢,Html 粘性菜单字体大小,html,css,responsive,Html,Css,Responsive,我对css很陌生。当我们向下滚动时,我希望保持字体大小不变,但我不确定如何使用css实现这一点 谢谢, Andyet固定标题类添加到滚动条上,您可以使用et固定标题类更改CSS,如下所示 body .et-fixed-header #top-menu li a { font-size: 12px; color: #fff !important; } 希望它能起作用 试试这个: #et-secondary-nav .menu-item-has-children>a
Andy
et固定标题
类添加到滚动条上,您可以使用et固定标题类更改CSS,如下所示
body .et-fixed-header #top-menu li a {
font-size: 12px;
color: #fff !important;
}
希望它能起作用 试试这个:
#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
font-size: 14px;
color: rgba(255,255,255,0.6)!important;
padding: inherit;
}
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
padding-top: 33px !important;
}
#top-menu li a {
color: rgba(255,255,255,0.6)!important;
}
#et_search_icon:before{
color: rgba(255,255,255,0.6)!important;
}
.et_fixed_nav.et_show_nav #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container {
margin-top: 0 !important;
transition: none;
-webkit-transition: none;
}