Tagged: x
-
AuthorPosts
-
August 1, 2016 at 11:45 am #1112279
I’m running into a strange issue. I have my X child theme running fine. I made an initial change in the child style.css. All I did was change the body background to pink to make sure it was working, and it worked fine. I then used Firebug (in Firefox) to make additional changes to the styling. I copied those changes to the child style.css file and saved. However, when I refreshed the page (in Firefox) none of the new styling showed up. And when I view the source code, my new css doesn’t show up there, either.
So I decided to check in Chrome. Chrome did show the updated changes to the child css. So at that point I thought it was just a cache issue. I cleared the cache in both browsers, but the same thing happened. I then added another line of css and saved. But now it’s no longer updating the site in Chrome, either. So Chrome and Firefox are showing two different things, and neither is updating the css any more.
The CSS is definitely saving properly, as I can close the child CSS file, and then reopen it from the server, and it shows all of my code. But for some reason, the browsers aren’t reading it properly.
At one point, I even deleted the child CSS file, and firefox still showed the initial CSS change that I had made.
I’ve never had anything like this happen so I’m a bit confused as to how to get the issue fixed.
August 1, 2016 at 11:51 am #1112289This reply has been marked as private.August 1, 2016 at 11:53 am #1112290Hi there,
Thanks for writing in! Apparently it’s a cache issue. Also make sure the codes are closed properly because one broken code block will prevent other codes to be generated correctly. Still I think it’s a cache issue as you see the initial code.
Cheers!
August 1, 2016 at 1:56 pm #1112481It finally started working. I cleared the cache repeatedly, when I was trying to fix it today, but for some reason that didn’t actually work until now.
Thanks.
August 1, 2016 at 2:07 pm #1112500Glad it is now working 🙂
Cheers!
-
AuthorPosts