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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.