sansastark
07-28-2016, 06:43 AM
I have a 250 page local history website called Hinckley Past & Present at www.hinckleypastpresent.org I am having problems with Google not recognising it as a 'mobile friendly' website. I am a bit stuck with what to do.
To help solve this problem I have added the following code to every page:
<meta name="viewport" content="width=device-width" />
And I have added the following to my CSS file:
/* #### Mobile Phones Portrait #### */
@media screen and (max-device-width: 480px) and (orientation: portrait){
width: device-width;
}
/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width: 640px) and (orientation: landscape){
width: device-width;
}
To help solve this problem I have added the following code to every page:
<meta name="viewport" content="width=device-width" />
And I have added the following to my CSS file:
/* #### Mobile Phones Portrait #### */
@media screen and (max-device-width: 480px) and (orientation: portrait){
width: device-width;
}
/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width: 640px) and (orientation: landscape){
width: device-width;
}