numbers instead of points in nivoslider

£可爱£侵袭症+ 提交于 2019-12-06 07:25:50

Just comment the text-indent and the image background from the Nivo CSS file:

.theme-default .nivo-controlNav a {
    /*background: url("bullets.png") no-repeat scroll 0 0 transparent;*/
    border: 0 none;
    display: block;
    float: left;
    height: 22px;
    margin-right: 3px;
   /* text-indent: -9999px; */
    width: 22px;
}

Explanation:

The numbers are dynamically generated inside the <a> 'bullets' but removed from viewport with text-indent. We just have to bring them in by commenting the lines I suggested.

Happy coding.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!