Problem with start of home slider (Monolit for WP)

Home Forums WordPress Theme Monolit – Responsive Architecture WordPress Theme Problem with start of home slider (Monolit for WP)

This topic contains 16 replies, has 2 voices, and was last updated by  protesilao 6 days, 11 hours ago.

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #15109

    protesilao
    Participant

    Support Expired

    Hello,
    on my home page I have the preloder and the home slider activated, but when preloader finish to be visible, the home slider has already start your animation: so, more people after preloader see directly the 2° slider image or the 3° slider image (not the 1° slider image).

    I need to start home slider animation after preloader finish, How can I do this?

    Let me know as soon as possible.

    #15123

    CTHthemes
    Keymaster

    Hi, you can try increase value of autoplaySpeed and autoplayTimeout options.

    #15124

    protesilao
    Participant

    Support Expired

    No, I try but the problem is the same…

    Probably I solve this problem putting the home slider script at the end of the page, so, where I can find the home slider script and How can I put it at the end of html page?

    #15126

    CTHthemes
    Keymaster

    Send me the page link to check.

    #15151

    protesilao
    Participant

    Support Expired

    This is the link:
    https://sacchettiassociati.it

    • This reply was modified 1 month, 1 week ago by  CTHthemes.
    #15159

    CTHthemes
    Keymaster

    This is the code: http://prntscr.com/g9801a

    You can delete it and use in window.onload function

    #15164

    protesilao
    Participant

    Support Expired

    the script is named “hero-wrap-home-slider” not “hero-wrap-iamge-slider”: the slider on home page work if I delete the scritp.js that you suggest me… maybe is not the correct script.

    Let me know

    #15168

    CTHthemes
    Keymaster

    It’s correct code. Please make sure that delete server and browser cache after delete the code.

    #15186

    protesilao
    Participant

    Support Expired

    I try deleting all cache, but is the same. Try you delenting completely the script.js file and let me know.

    Thanks

    • This reply was modified 1 month ago by  protesilao.
    • This reply was modified 1 month ago by  protesilao.
    #15200

    CTHthemes
    Keymaster

    The script is stil there: http://prntscr.com/gaf1se
    and please make sure that you edit the correct file sense it’s not correct link there: http://prntscr.com/gaf23f

    #15592

    protesilao
    Participant

    Support Expired

    If can is usefull for someone, I solve this problem changing only one word in “/monolit/js/script.js” file:

    at the end of file I change “jQuery(window).ready(function()” with “jQuery(window).load(function()”

    • This reply was modified 1 week, 4 days ago by  protesilao.
    #15595

    CTHthemes
    Keymaster

    Hi protesilao,
    You are right, but your visiter have to wait the site fully loaded to browse.

    #15756

    protesilao
    Participant

    Support Expired

    I notice that on new version of Monolite this solution doesn’t work, if I try to repalce “ready” with “load”, the images on homepage slider doesn’t appear. So, what chenged on the new script and how can I solve this problem?

    #15772

    CTHthemes
    Keymaster

    There was no change. You can try to replace

    jQuery(document).ready(function() { with jQuery(window).load(function() {

    http://prntscr.com/glclks

    • This reply was modified 1 week, 1 day ago by  CTHthemes.
    #15794

    protesilao
    Participant

    Support Expired

    Ok,
    so if on the script I change “document” with “window” the slide on home page work perfectly, but the gallery filter on Project page doesen’t work, the gallery filter work only if a the end of the script file ther’is “document”.

    So, the solution is have the script modified only on home page, so how can I remove (or block the loading) the original script only on home page ??? (after I can insert the script modified only on home page)

    • This reply was modified 1 week, 1 day ago by  protesilao.
    • This reply was modified 1 week, 1 day ago by  protesilao.
    • This reply was modified 1 week, 1 day ago by  protesilao.
    • This reply was modified 1 week, 1 day ago by  protesilao.
    • This reply was modified 1 week, 1 day ago by  protesilao.
    #15816

    CTHthemes
    Keymaster

    Hi, you can edit the file to move home slider script into new function then call it with window load .

    There are also some code you need to modify: http://prntscr.com/glqpnx

    #15841

    protesilao
    Participant

    Support Expired

    ok

Viewing 17 posts - 1 through 17 (of 17 total)

The topic ‘Problem with start of home slider (Monolit for WP)’ is closed to new replies.