Filled the site for hosting, when changing the css file in the main file there is no change.
Closed due to the fact that off-topic participants kizoso , aleksandr barakin , Yuri , Air , Kromster Jan 15 '18 at 5:18 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - kizoso, aleksandr barakin, Yuri, Air
3 answers
It's simple, most likely your page is stuck in the cache, and the browser takes the old, cached version.
Solution for yourself:
Clear cache - ctrl + F5
The solution for everyone:
Add a version number to the link
"mystyle.css?2" Now the browser refers to the new file, since there is no file in the cache with the name "mystyle.css?2" , respectively, when we release new versions, we iterate the number.
Clear the page cache, ctrl + shift + R, maybe help, and without a reproducible example of your error, as described above, no one can help you, try ctrl + f5
The error was that the main file was php, and styles are connected to the php file differently.
- And solutions in other offered answers do not work? - 0xdb
- It would be necessary to somehow tell more in detail ... - Qwertiy ♦
?v=1.01). - Yuri