October 27, 201214 yr What's the best way to test responsive websites that have been developed locally, with out simply changing the browsers size with the mouse?
October 27, 201214 yr In the newest version of firefox you have a build in way to test different resolutions. Tools -> Web Developer -> Responsive Design View Léon
October 27, 201214 yr If your mobile is connected to the same wireless network as the computer, you can access the site by knowing the ip of your computer and replacing localhost by it in the url (http://localhost/testsite -> http://192.168.1.44/testsite) To find the ip do ipconfig on the command prompt on windows or ifconfig on the terminal on linux or mac. Edited October 27, 201214 yr by ocorreiododiogo
October 27, 201214 yr Author In the newest version of firefox you have a build in way to test different resolutions. Tools -> Web Developer -> Responsive Design View Léon I really like the features firefox has got now, its changed a lot since i last used it - thanks for brining it to my attention If your mobile is connected to the same wireless network as the computer, you can access the site by knowing the ip of your computer and replacing localhost by it in the url (http://localhost/testsite -> http://192.168.1.44/testsite) To find the ip do ipconfig on the command prompt on windows or ifconfig on the terminal on linux or mac. This method works very well except the css does not load - Is there something i need to do to make it work?
October 27, 201214 yr Strange... just tried this and the css loads perfectly. Where is the css file located?
October 27, 201214 yr Author Strange... just tried this and the css loads perfectly. Where is the css file located? It is the default location for a Wordpress installation: wordpress install folder/wp-content/themes/themefolder/style.css The main page loads (with out CSS), but also any links to posts etc do not work either.
October 27, 201214 yr Oh, you must be using complete urls for the links (http://site.com/about/) instead of relative (/about/), same goes for the css file. Is this how it works with Wordpress? You can temporarily change the css url to an absolute link, but with the ip instead of localhost just for the test on the mobile.
November 1, 201214 yr Simple answer. Don't build it locally. Get a working demo up and online, be it using a free web host or as a sub folder on your own site. This way you can preview it on your Smart Phone (assuming you own an iPhone/Android?) Sorry a lot of assumptions there, but just my two cents worth.... Edited November 1, 201214 yr by Silverbolt
November 5, 201214 yr Simple answer. Don't build it locally. Get a working demo up and online, be it using a free web host or as a sub folder on your own site. This way you can preview it on your Smart Phone (assuming you own an iPhone/Android?) Sorry a lot of assumptions there, but just my two cents worth.... You can access a locally developed site on a mobile without putting it online.
November 7, 201214 yr Author Thanks for the help guys. I cant believe i didn't think of using a free host just for testing before lol.
Create an account or sign in to comment