My javaScript code does not allow scrolling in iPod mode, but is this ok in portrait mode?

I am using a WordPress theme, I enter the following code into my template on the first page to link the store to my site. All browsers and mobile devices are still fine, only when I use iPad landscape mode it won't let me scroll down, but if I use portrait mode everything is fine. Of course, if I remove this code from the template, then there is no problem, but I need this code to link my site to the store. I tried to remove it from the first page and queue it up in the file function.php

and .js

, no luck. How should I solve this problem, rate it! My site is www.sayhitoworld.com, you can check it out on iPad if you had time and iPad. Appreciate.

<script>
		    var spread_shop_config= {
		        "shopName" : "sayhitoworld",
		        "locale" : "us_US",
		        "prefix" : "//shop.spreadshirt.com",
		        "baseId" : "myshop"
		 };
		</script>
		<script type="text/javascript" src="//shop.spreadshirt.com/shopfiles/shopclient/shopclient.nocache.js"></script>
      

Run codeHide result


+3


source to share





All Articles