如何调整Betheme标头的大小

我正在使用Wordpress Betheme。当我滚动鼠标时, 菜单栏会变小, 但是最初的尺寸会很大。我该如何解决?我的意思是我希望菜单栏保持粘性, 并且始终像滚动大小一样保持较小。我不要大头。仅会保留一个较小的标题, 并且滚动时不会有任何影响。

主题链接:http://themes.muffingroup.com/betheme/


#1


有一个” is-sticky”类, 用于将样式设置为所需的标题。不幸的是, 该类是通过主题的某些JavaScript添加和删除的。

根据BeTheme文档, 应该有一个打开和关闭粘性标题的选项。

如果这经常关闭JavaScript, 则可以手动将id为” Top_bar”的元素设置为” is-sticky”类, 以始终具有较小的菜单栏。

或者, 改编” is-sticky”类的css, 并将其作为” #Top_bar”及其内部元素的默认样式手动添加到标头中。

来源:

https://www.srcmini02.com/65193.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41047.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?