Follow

Fix for zoomed parallax background on iPhone & iPad

Try to add code to the bottom of file \wp-content\themes\swagmoment\js\main.js:

(function ($){
    $( document ).ready(function() {
        if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i)) {
            $('.parallax').css({'background-attachment': 'scroll'});
            console.log('test1');
        } 
    });
})(jQuery);
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.