Mobile friendly individual page redirection
Автор: Paul W.
Просмотрено 1056,
Подписчики 1,
Размещенный 0
In order to be Google "mobile friendly" I included the code
<script type="text/javascript"> if (screen.width <=648) {document.location = "/m/"; } </script>
in the expert section advanced secting - before closing the head. This works and traffic from smaller devices is sent to jpw.ca/m where a mobile version exists.
Question:
How do I create instuctions that can enable direction to individual sites in the jpw.ca/m directory rather than always to jpw.ca?
Help.
Размещено
Hello Paul,
Unfortunately I cannot help you with the use of custom code, but if you have any doubts or issues on how to add them in the pages you made with WebSite X5 you can rask me. Generally speaking since the functions do not depend on WebSite X5, you can search useful information about the custom code with search engines like google or wait until someone on the community of Answers can help you.
Many thanks!
adifferent solution, usea responsivetemplate "alpine"
http://quellidelcucuzzolo.blogspot.it/2015/03/template-alpines-website-x5-11.html
JJ.