WP Theme CSS Edits not Taking Effect
-
[ Moderator note: moved to Fixing WordPress. Please do not use Developing With WordPress for these topics. ]
Hello – I’ve been developing WordPress sites using third-party themes (Avada is the one I’m working with at the moment), and my company generally asks for a series of extra custom changes that have to be made with CSS tweaks. (This works well enough most of the time, but obviously I need to learn to make my own themes – working on that!) Right now, though, I’m just absolutely stuck with trying to make any updates because (especially after a recent theme upgrade) I can’t get my CSS changes to take effect. They seem to be referencing an old version of the CSS file when I inspect elements in my browser.
I tried to work around this issue by just inserting the CSS in the header, but found that the old (cached?) CSS file is still overriding my updated styles. I’ve tried downloading the core CSS file (that their “Custom CSS” screen writes to), then making the changes there, but it seems that as soon as I upload a new version of the file, it reverts back to the original (before my changes) immediately. The CSS file it’s referencing has a “?ver=4.8” at the end, which I have a feeling might have something to do with it, but I feel like something is also wrong with how the latest theme version is saving changes. (They save in the WP/theme admin, but aren’t carrying over reliably to the main CSS file.) At any rate, I feel stuck and don’t know how to launch this site “ASAP” when the theme designers’ support folks are so backed up and I don’t think they understand what I’m asking.
I don’t have any cache plugins, my host doesn’t cache anything on the server side, and I’m using the Chrome Cache Killer plugin to make sure the most recent versions of files are always loaded. Pulling the site up in other browsers, and manually clearing cache/cookies, still results in the same problem.
Is this something others have run into? It seems like an issue that must have a totally acceptable work-around that I’m just not thinking of. Thanks in advance for any advice!
- The topic ‘WP Theme CSS Edits not Taking Effect’ is closed to new replies.