今天修改了dede模板,以实现dede5.7的导航两行显示功能,调整导航的显示式样
首先修改式样
/templets/default/style/dedecms.css第263-328页,按一下步骤操作
.blue .top {
background-position: 0 -72px;
background-repeat: repeat-x;
height: 70px;
}
.blue .top .t_l {
background-position: 0 0;
background-repeat: no-repeat;
height: 70px;
width: 5px;
}
.blue .top .t_r {
background-position: -6px 0;
background-repeat: no-repeat;
height: 70px;
width: 5px;
}
改红色70为100,此处为导航栏的行高
#navMenu {
width:915px;
overflow:hidden;
height: 28px;
padding:8px 0 0 15px;
height改为56,之前的两倍,这里是两行导航的宽度
及以下290-328行的是有height属性改为30,具体是适合为主。这里是行距。
另需要修改图片/templets/default/images/green_skin.png蓝色部分为68,白色不变。
也可以点下面的图片另存为,我已经修改并使用了——彭南文于0221测试
