[Support request] Child theme: style.css version string different for some elements

Home Forums Support Child theme: style.css version string different for some elements

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #851677
    Arnaud

    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!

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #851885
    Tom
    Lead Developer
    Lead Developer

    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?

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