I am running WordPress on xampp and CSS is working in desktop but not mobile. Full url of CSS starts with localhost/.. So I think I need to change it to my router ip becuase I access localhost on mobile using is router ip. but if I do that then it not works in desktop . How to solve this?

Update: I edited site address to ip in dashboard and now I get message localhost refused to connect. I changed it back to localhost still now I am getting this error.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.