Support » Theme: Medicine » slider effects not working

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author LizardThemes

    (@lizardthemes)

    Hi!
    There is an option “Save Changes” at the top of the page Medicine –> Slider in the dashboard. Did you save changes after changing the effect for slider?

    Yes..
    I change all the attributes like speed, delay etc and it works. But whenever I give effects, It doesnt works. Only the default effect is working.

    Theme Author LizardThemes

    (@lizardthemes)

    Hi!
    Sorry for inconvenience. Please, replace the code:

    jQuery('.slides').cycle({
       delay:<?php echo $settings['slider']['delay']; ?>,
       speed:<?php echo $settings['slider']['speed']; ?>,
       next: '.slide-right',
       prev: '.slide-left',
       pager:  'slider-previews',
       pagerAnchorBuilder: function(idx, slide) {
        return '<img src="' + jQuery(slide).attr('src') + '" />';
       }
      });

    with:

    jQuery('.slides').cycle({
       fx:'<?php echo $settings['slider']['effect']; ?>',
       delay:<?php echo $settings['slider']['delay']; ?>,
       speed:<?php echo $settings['slider']['speed']; ?>,
       next: '.slide-right',
       prev: '.slide-left',
       pager:  'slider-previews',
       pagerAnchorBuilder: function(idx, slide) {
        return '<img src="' + jQuery(slide).attr('src') + '" />';
       }
      });

    in the file functions.php located in the directory of the theme.

    Thank you very much…
    It’s perfectly working now..

    By the way can I have custom effect? for that which all file should I modify?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘slider effects not working’ is closed to new replies.