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);
0 Comments