Archived topic
Child theme: style.css version string different for some elements
1 reply · Started by Arnaud on March 27, 2019
Hi,
I am not very familiar with versions of style sheets, i am guessing it is auto-generated, cached and released when browser sees a new version or when cache is cleared (which I did: browser and CDN). My issue is that I am trying to style the search input, my CSS is ignored, when, as the same time and in the same file I also styled another element (footer lists hyperlinks) and it is updated. I added the code in style.css of my child theme and transfered via SFTP client.
Chrome DevTools shows my that these 2 elements have different version for the style.css
links: style.css?ver=1553708683:370
Input: style.css?ver=1553708683:263
All the code is in only 1 file which is style.css
I am stuck here on what to do next.
Thanks for help!
Hi there,
It depends on how that query string is generated: 1553708683
By default, GP doesn't add a query string like that to the child theme. Are you enqueuing your child style.css in your functions.php file?