hexo菜单栏背景图片设置

landscape-plus主题默认关闭了顶部的大图,如需开启,取消header.styl第33行的注释即可

themes/landscape-plus/source/css/_partial/header.styl
1
background: url(banner-url) center #000

如需修改高度:

hexo\themes\landscape-plus\source\css\_variables.styl
1
banner-height = 280px //修改menu图片高度

随机切换背景图片效果设置:

hexo\themes\landscape-plus\source\css\_variables.styl
1
2
//banner-url = "images/banner.jpg"
banner-url = "https://unsplash.it/1920/280/?random"