homepage problems

Support Forums White – HTML Template homepage problems

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4800
    Sari
    Participant

    Hello!

    I have been working with this template, and I seem to be having problems with my homepage. I want to get the photos in the background to change, and the text on top to be fixed. However, the opposite is happening. As the template is set up to have three rotating text containers on the homepage, even though I have deleted the other two in hopes of having one container fixed, it still rotates out as if the other two were there. As for the sliding photos, they rotate when you refresh or reload the page, but not on a timer. Please help!

    My URL is saricross.com/v4

    #4801
    CreaboxThemes
    Keymaster

    Hi,

    if you want to autoplay the slider, you have to change the variable start_slide in the file image_slider.js (folder js). Change the value to 1.

    And if you want to remove the rotation in the messages, you have to remove the next code in the file custom.js (folder js):

    /* ==============================================
    /*	MESSAGE ROTATION IN THE HOMEPAGE
    =============================================== */
    var intervalTime = 2000; //transition time
    var messageArray = $(".messages").children();
    var messageMax = messageArray.length - 1;
        
    messageArray.each( function( index ) { $(this).fadeOut(); } );
    $(messageArray[0]).fadeIn();
        
    function text_rotate(){
        setTimeout ( function() {
            messageRotate(1);
        }, intervalTime);
    }
    
    function messageRotate( index ) {
        var prev = ( (index == 0) ? (messageMax) : (index - 1) );
        var next = ( (index == messageMax) ? 0 : (index + 1 ) );
    
        setTimeout ( function () {
            $(messageArray[prev]).fadeOut();
                 setTimeout ( function () {
                    $(messageArray[index]).fadeIn();
                    setTimeout ( function () {
                         messageRotate(next);
                 },intervalTime );
             },(intervalTime/2) );
        },intervalTime );
    }

    Regards

    #4802
    Sari
    Participant

    Hello;

    I made those changes and uploaded them for you to see. It didn’t seem to work, and in fact now nothing is visible except the non-rotating background image.

    S

    #4803
    CreaboxThemes
    Keymaster

    Yes, you are right. There is a jQuery conflict. I have forgotten to tell you that you need remove the line 31 in the file custom.js where he code is:

    text_rotate();

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.