Automatically moving slider headers

  • Author
    Posts
  • #139814

    gabriellafb
    Member

    Hello,

    I have the business plan.
    I understand that with the business plan I can make the featured content sliders move automatically.
    But I do not how how to do this and think it requires some code?
    I wonder if you could advise?

    Thanks in advance!

    Kind regards,
    Gabriella

    The blog I need help with is integralyogaworld.com.

    #140045

    djordjegrubac
    Theme Author

    Hi Gabriella,

    To make slider change slides automatically, you will need to modify common.js file located in ..wp-content\themes\eris\assets\js\common.js.

    Search for line 806, and insert these two lines after it:

    autoplay: true,
    autoplaySpeed: 4000,

    So the code will look like this: https://www.screencast.com/t/rwIxLDC9n

    Value 4000 is a time between two slides in milliseconds.

    Thank you,
    – Djordje

    #140058

    gabriellafb
    Member

    Thank you Djordje,

    But I have a problem as when I copy the link extension wp-content\themes\eris\assets\js\common.js. I enter the js.file and see the code but do not see the numbers and have no way of modifying it.

    Could you send me the exact link for making the modification?

    Kind regards,
    Gabriella

    #140308

    djordjegrubac
    Theme Author

    Hi Gabriella,

    Here is the link to the modified file: https://www.dropbox.com/s/l5q1stt4zf7yuz7/common.js?dl=0

    Just download it and replace your common.js file.

    Thank you,
    – Djordje

You must be logged in to reply to this topic.