Tagged: CSS
-
AuthorPosts
-
June 17, 2020 at 10:55 pm #1223499
Hello,
I’ve been updating my child css and noticing that it’s being overridden by some VERY OLD style definitions.
I tried adding this to my child function:
add_filter('avf_merge_assets', function() { return 'none'; });I tried flushing old css and js, purging my caches locally and on CDN… but I still get these old definitions overriding my new ones. What should I do?
see here: the ‘helvetica’ h2 is the old code. https://imgur.com/a/rKvvz3C
June 17, 2020 at 11:04 pm #1223505Hey Itai,
Are you running any caching plugins? W3 Total Cache for example?
Best regards,
Jordan ShannonJune 17, 2020 at 11:13 pm #1223517Hey Jordan,
Yes I am: W3 Total Cache . But I purged all the caches on that plugin multiple times….also: disabled it but the old code is still there.
-
This reply was modified 5 years, 5 months ago by
Itai.
June 18, 2020 at 10:11 am #1223635Hi,
Thanks for the update. Could you post a link to where we can see the actual problem on your site please?
Best regards,
RikardJune 18, 2020 at 1:10 pm #1223689Sure, here: https://heaven11audio.com/billie-stereo-intergrated-amplifier/
In this case, it’s the h2 element, but I noticed that there’s a lot of the old css within the pageCheers,
Itai
June 18, 2020 at 3:29 pm #1223746Hi Itai,
Can you disable caching and minification for now? This way you can see where the old styles are coming from.
Best regards,
VictoriaJune 18, 2020 at 6:14 pm #1223847Hi Victoria,
I disabled W3 Total Cache completely and emptied my Cloudflare cache. As far as I can tell it hasn’t changed anything. Very strange.
….I would like to get caching going again as this a busy time for our site…
Cheers & thanks,
Itai
June 19, 2020 at 7:43 am #1223971Hi,
Thanks for the update. The CSS is coming from the file in private.
Best regards,
RikardJune 19, 2020 at 1:52 pm #1224061OMG Rikard! Thanks so much for figuring that out. I completely forgot about that file.
You can close the thread now. Thanks for the great support.
Cheers,
Itai
June 19, 2020 at 9:06 pm #1224156Hi Itai,
Great :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
This reply was modified 5 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
