Made Two Websites Pass Google Mobile Friendly Test Today!

Today is the deadline that Google had announced that the use of a website’s mobile-friendliness would be used in ranking the website’s search engine results.

I had a couple websites that were designed to be viewed with large monitors, but that I had also designed a part of the websites to be mobile ready. I was able today to add code to the websites that automatically served the correct part of the website to the viewer depending upon the size of the screen of the device that the viewer is using.

    </script>
<script type=”text/javascript”>
<!–
if (screen.width <= 699) {
document.location = “/mobile/index.html”;
}
//–>
</script>

(Special thanks to css-tricks.com)

After programming the code immediately in front of the </body> tag, the two websites passed the Google Mobile-Friendly Test.

https://www.google.com/webmasters/tools/mobile-friendly/

The two websites are:

http://www.americanlegionnorthstpaul.com/

and

http://www.mansavageproductions.com/

If you have a website that needs to be made more mobile-friendly, contact Mansavage Productions for help at reasonable rates.

 

Leave a Reply

Your email address will not be published. Required fields are marked *