D
D
DestroyerZzz2015-10-13 18:35:15
PHP
DestroyerZzz, 2015-10-13 18:35:15

@media works on local server (OpenServer) but doesn't work on live hosting. Why?

Made a responsive website layout. (file adaptive.css) on the openserver everything "adapts" perfectly, but on real hosting (through FTP I uploaded everything that I have in the openserver folder 2 times) does not work WHY? It seems that it does not see this adaptive.css file, although the source codes for both the open server and the real one are the same. Both have this
UPD file. It turns out it was necessary to update using CTRL + F5. The old version remains in the browser)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Fedoseev, 2015-10-13
@martin74ua

file name case, extension case, etc.
Are there any references to your file in the hosting logs?

V
VisualIdeas, 2015-10-13
@VisualIdeas

Check that the connection of this css is absolute: That is,
the file address must begin with a slash, and not with ../../style.css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question