Support » Themes and Templates » Hero theme's Header

  • Hello all, I suck at Javascript. Therefore, I can’t get the header on hero to cycle between more than 2 images. How do change this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Andrew Nevins


    Forum moderator

    Show hero code

    If it’s long, use

    Not sure if this is the right bit, but:

    (function($) {
        var NivoSlider = function(element, options){
            // Defaults are below
            var settings = $.extend({}, $.fn.nivoSlider.defaults, options);
            // Useful variables. Play carefully.
            var vars = {
                currentSlide: 0,
                currentImage: 'slide3',
                totalSlides: 4,
                running: false,
                paused: false,
                stop: false,
                controlNavEl: false
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hero theme's Header’ is closed to new replies.