很简单的 修改CSS就可以
打开style.css文件
查找#topmenu部分
就可以修改了- #topmenu { float: right; padding: 20px 10px 0 0; }
- #topmenu ul { margin: 0; padding: 0; list-style: none; }
- #topmenu li { float: left; padding-right: 10px; }
- #topmenu a { float: left; width: 48px; height: 56px; text-align: center; text-decoration: none; color: #FFF; padding-top: 39px; he\ight: 17px; overflow: hidden; background: url(../images/topmenu.jpg) no-repeat; }
-
- #topmenu a.news { background-position: 0 0; }
- #topmenu a.news:hover, #newsmenu a.news { background-position: 0 -56px; }
-
-
- #topmenu a.blog { background-position: -65px 0; }
- #topmenu a.blog:hover, #blogmenu a.blog { background-position: -65px -56px; }
- #topmenu a.image { background-position: -129px 0; }
- #topmenu a.image:hover, #imagemenu a.image { background-position: -129px -56px; }
- #topmenu a.goods { background-position: -194px 0; }
- #topmenu a.goods:hover, #goodsmenu a.goods { background-position: -194px -56px; }
- #topmenu a.video { background-position: -258px 0; }
- #topmenu a.video:hover, #videomenu a.video { background-position: -258px -56px; }
- #topmenu a.file { background-position: -323px 0; }
- #topmenu a.file:hover, #filemenu a.file { background-position: -323px -56px; }
- #topmenu a.link { background-position: -387px 0; }
- #topmenu a.link:hover, #linkmenu a.link { background-position: -387px -56px; }
- #topmenu a.group { background-position: -452px 0; }
- #topmenu a.group:hover, #groupmenu a.group { background-position: -452px -56px; }
- #topmenu a.bbs { background-position: -516px 0; }
- #topmenu a.bbs:hover, #bbsmenu a.bbs { background-position: -516px -56px; }
复制代码 |