After encountering a terrible problem with my website, I was able to figure out the root cause. It turns out that my website is powered by WordPress and I had been using the wrong link. While hosting my site via XAMPP on my local PC for testing purposes, I made use of the bloginfo('stylesheet_url');
function which resulted in countless nightmares. The stylesheet was failing to link properly on my mobile phone, as it was returning http://localhost:8080/wordpress/
, an incorrect link for any other device on the LAN. To fix this issue, I replaced it with the IP address,
http://192.168.1.8:8080/wordpress/
. The IP address
192.168.1.8 corresponds to the source/host computer (you can locate this information by opening the command console on Windows and typing "ipconfig").
NOTE: Although I temporarily removed the bloginfo('stylesheet_url');
function, remember to utilize it when developing your website. I only disabled it temporarily to facilitate testing on other devices via LAN using XAMPP.
I want to express my gratitude to everyone who assisted me during this troubleshooting process. Your help is greatly appreciated.