• Resolved jon27qd

    (@jon27qd)


    I’m a relative noob when it comes to HTML / WordPress websites, and I’d be very grateful for some help! I can’t for the life of me work out how to control / change the speed of the front page slider on the site that I’m building: https://www.oneworldfilmcrews.com/
    The theme used is Hector: https://www.fabthemes.com/hector/

    The only code I can see for the slider is is the “slider.php”. This contains:

    <script type="text/javascript">
    
     jQuery(document).ready(function(){
        jQuery('#pslider').bxSlider({
    	  mode: 'fade',
    	  controls:false,
    	  auto:true,
    	  pager: true
    	});
      });
    
    </script>
    
    <div id="pslider">
    	<?php
    	$slide = get_option('felix_slide_cat');
    	$count = get_option('felix_slide_count');
    		$slide_query = new WP_Query( 'category_name='.$slide.'&posts_per_page='.$count.'' );
    		while ( $slide_query->have_posts() ) : $slide_query->the_post();
    	?>
    <div class="spanel">
    <a href="<?php the_permalink() ?>"><img class="slideimg" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo get_image_url()?>&h=400&w=940&zc=1" title="" alt="" /></a>
    </div>
    <?php endwhile; ?>
    
    </div><!-- Slider -->

    I can’t see anything here that relates to speed. Am I missing something? Should I be looking at different code elsewhere?

    Thanks in advance for any suggestions!

Viewing 1 replies (of 1 total)
  • Thread Starter jon27qd

    (@jon27qd)

    Okay, I’ve solved my own problem. After “pager:true” add a comma followed by

    speed:2000,
    pause:4000

    You can change these values to vary the length of the transition / pause

Viewing 1 replies (of 1 total)
  • The topic ‘Control for slider speed in Hector theme?’ is closed to new replies.