S
S
svsobolev2015-02-21 14:28:47
css
svsobolev, 2015-02-21 14:28:47

What to do if the browser reads the old CSS?

Hello. The situation is this:
A customer contacted me with a request to make a copy of his site, but on a different domain, with a different logo, content, and so on. Site on WP. I installed the Duplicator plugin, made a backup, uploaded it to my hosting, to my "working" domain, made all the changes, everything was fine. Again I make a backup (already changed site), attach its domain to my hosting, upload, install ... and a problem arises: everything is preserved, except for the logo. I start digging - it turns out that the browser reads the "old" css. I check css through the wp admin panel - there is all the code you need, new. I tried to replace the name of the logo itself and update it in css - it does not help, the browser still sees the old code in css. Checked with 3 browsers, as well as with 2 more devices.
Gentlemen, tell me, chyadnt?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
S
SagePtr, 2015-02-21
@svsobolev

Maybe you need to clear the cache. If the problem is on browsers that have not previously accessed this site, then most likely the cache is on the server side.

A
Andrey Khokhlov, 2015-02-21
@andrhohlov

Let's start with the banal
Ctrl + F5 does not help?

S
svsobolev, 2015-02-21
@svsobolev

Alexander Seredenko thanks for the answer, I did not have time to try your method, but changing the name did not help. SagePtr as a result, you were right, you had to reset the cache, and then restart the server - the reason was clogged RAM.
Thank you all so much for your participation!

A
Alexander Seredenko, 2015-02-21
@san4ooo

Try to include css like this:
Or just change the file name. Should work.

D
Deodatuss, 2015-02-22
@Deodatuss

and if you screw up in the css property !important ?

E
Eugene, 2015-02-23
@Sif_on

In extreme cases, in chrome there is an incognito mode Ctrl + Shift + N

V
Vadim Belkin, 2015-02-25
@BelkinVadim

Check the path to the styles, maybe you have the path to the old styles. In the browser inspector, find the included styles and follow its link, or download it for yourself and see if it's old styles. Look at the styles at this address in other browsers after clearing the cache.

C
cicatrix, 2017-11-04
@alekssamos

Visual Basic teaches you bad things.
It allows you to create a form class without explicitly calling the constructor. Get away from it c#
Always specify explicitly with the word New:

frm2 = New Form2
frm2.Show()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question