Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    #1223505

    Hey Itai,

    Are you running any caching plugins? W3 Total Cache for example?

    Best regards,
    Jordan Shannon

    #1223517

    Hey 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 4 years, 6 months ago by Itai.
    #1223635

    Hi,

    Thanks for the update. Could you post a link to where we can see the actual problem on your site please?

    Best regards,
    Rikard

    #1223689

    Sure, 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 page

    Cheers,

    Itai

    #1223746

    Hi Itai,

    Can you disable caching and minification for now? This way you can see where the old styles are coming from.

    Best regards,
    Victoria

    #1223847

    Hi 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

    #1223971

    Hi,

    Thanks for the update. The CSS is coming from the file in private.

    Best regards,
    Rikard

    #1224061

    OMG 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

    #1224156

    Hi Itai,

    Great :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.