Child theme style.css versioning


I’ve been breaking my head on this one. I have a child theme and made changes to the style.css document. These changes did not show up in the reload of the page because there is no mention of version in the stylesheet declaration of this file.

I have found out that style.css is loaded as a foundation of the theme and that the version number in the header of style.css is supposed to show up, but it doesn’t. I’ve tried the deregister, dequeue and requeue options that I found online, but still no go.

I have made a work around by queueing another css file for which I have added versioning based on the modification date of the file, but I am curious if others have seen this issue and have a proper solution.

, , , kls 2 years 2019-12-30T08:38:51-05:00 0 Answers 90 views 0

Leave an answer