Close

Account

Documentation

Forum

Menu

Breaking News Slider Speed

  • richard654
    March 25, 2015 at 5:37 pm #10289

    Hi! We need to be able to adjust the speed of the breaking news slider.

    I’ve tried adjusting the speed in owl.carousel.js from 5000 to 7000 but it seems not to have any affect.

    I couldn’t find the setting within the owl.carousel.min.js code.

    Any thoughts? Suggestions?

    Many thanks!

    Post count: 2490
    Jegbagus
    March 27, 2015 at 11:08 pm #10364

    hi richard654, go to jmagz themes > public > js > main.js

    and on line 311, you can change it from 200 to your need.

    or if you are using marque, on line 322, you can change it to your number.

    Thank you

    Post count: 1
    Anthony
    September 30, 2015 at 3:10 pm #14771

    Is there any way this can be adjusted without modifying the main js file. This will defeat the purpose of theme upgrades.

    I know there is a section in the theme settings to put a chunk of code, there is also the ability to include files in the child theme. Is there a chunk of code we can add to those settings to modify the speed?

    Thanks!

    Post count: 2490
    Jegbagus
    October 1, 2015 at 2:28 am #14780

    hi Anthony, yes you can use child themes. but to use child themes, you will need to know little about wordpress code. in this case you will need to use https://codex.wordpress.org/Function_Reference/wp_dequeue_script
    and https://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Thank you

You must be logged in to reply to this topic.