Flexslider hide bullets below slideshow
Asked Answered
D

4

11

I am using a very basic slider and I have 2 questions:

  1. I do not seem to find a property that hides the default button controls below the slideshow? I wish to have only the prev/next controls on hovering.

  2. If I cannot have option 1, will making my own controls hide the defaults?

Thanks in advance for any help!

Code:

<script type="text/javascript" charset="utf-8">
  $(window).load(function() {
    $('.flexslider').flexslider();
  });
</script>

HTML:

<div class="flexslider">
<ul class="slides">
<li> <img src="http://www.xx.com/1.jpg" alt="" /> </li>
<li> <img src="http://www.xx.com/2.jpg" alt="" /> </li>
<li> <img src="http://www.xx.com/3.jpg" alt="" /> </li>
</ul>
</div>
Delldella answered 6/6, 2013 at 14:58 Comment(0)
M
21

You should pass "controlNav: false" to flexslider():

  $('.flexslider').flexslider({
    controlNav: false
  });
Merras answered 14/8, 2013 at 16:16 Comment(0)
J
10
<script type="text/javascript" charset="utf-8">
$(window).load(function() {
    $('.flexslider').flexslider({
        controlNav: false
    });
});
</script>
Jess answered 6/6, 2013 at 16:24 Comment(1)
please explain what you didLizzettelizzie
C
0

flex-next :

$('#article-slider').flexslider({
  animation: "slide",
  controlNav: false,
  animationLoop: false,
  slideshow: false,
  sync: "#article-carousel",
  rtl: true,
  start: function(slider) {
    $('body').removeClass('loading');
  }
});
Clorindaclorinde answered 8/7, 2015 at 13:47 Comment(1)
Please provide explanation to your answerPossessive
S
0

I have used the script at the bottom (with the 0) in the Custom CSS box and it works for PC but not for mobile slider to view on a phone

Security answered 24/2 at 1:57 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Virtu

© 2022 - 2024 — McMap. All rights reserved.