Search code examples
phptwitter-bootstrapgoogle-chromelocalhostuc-browser

localhost: Some bootstrap styles not working in Chrome, but still working in UC browser


I am doing a CMS project in php. The site has two parts: Admin panel and Home. Everything was alright but suddenly my pc ran into a problem and restarted automatically, after that when I started my site using localhost, certain bootstrap and css styles(navigation bar, pagination and some more) are not working properly, but when I run localhost on UC browser it is working fine, but in chrome and edge the styles are broken. Can you explain why its happening? Also strange that when in chrome, the admin panel styles are all okey, but home page styles are broken. I inspected both uc and chrome, they are using different bootstrap versions!

I checked bootstrap and css paths they are okey, the thing is that site is working properly in UC browser but not in Chrome and Edge.


Solution

  • Problem is solved. My Home page was using different version of bootstrap which was newer version. I changed to the older version of bootstrap then the problem solved. Still confused that why UC browser was using the older version.