【问题标题】:adding bullets to a slider on "customizr" wordpress theme在“customizr”wordpress 主题上向滑块添加项目符号
【发布时间】:2013-12-18 03:25:21
【问题描述】:

我对 jquery 库的经验很少。我需要从主滑块中删除箭头并在底部添加项目符号(用于导航幻灯片的项目符号)。任何精通java脚本的人请指导我如何做到这一点。 Customizr 是 wordpress 中的免费主题。

【问题讨论】:

    标签: javascript wordpress-theming


    【解决方案1】:

    Customizr 是基于 Twitter 的 Bootstrap 2 构建的。滑块也是基于 Bootstrap 的组件,请参阅:http://getbootstrap.com/2.3.2/javascript.html#carousel

    在 Bootstrap 2.x 中,carousel 不支持指示 carousel 中的项目总数和 carousel 的当前位置。另见:Bootstrap carousel. Add pagination dots to bottom

    此功能在 Twitter 的 Bootstrap 3.x 中添加,见:http://getbootstrap.com/javascript/#carousel

    因此,要解决您的问题,请使用此处描述的解决方案:https://github.com/twbs/bootstrap/issues/1993 或查找适用于 Twitter 的 Bootstrap 3 的主题,例如 RootsJBSTTwitter Bootstrap Slider 还为 WordPress 提供了 Bootstrap 的轮播功能。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-14
      • 1970-01-01
      • 1970-01-01
      • 2017-08-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多