Title: Is there a CSS version setting?
Last modified: March 11, 2020

---

# Is there a CSS version setting?

 *  Resolved [peaksyoshida](https://wordpress.org/support/users/peaksyoshida/)
 * (@peaksyoshida)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-css-version-setting/)
 * Hi!
    I updated the CSS on my site. But old CSS is read from cache. Usually we
   add a version query when we include CSS, but is there a setting in BlockLab as
   well? If that is not possible I want to know an alternative.
 * I’m a Japanese using Google translation, so if you have difficulty reading this
   sentence, I’m sorry.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-css-version-setting/#post-12530790)
 * Hi [@peaksyoshida](https://wordpress.org/support/users/peaksyoshida/),
    Thanks
   for bringing this up.
 * Sorry, we don’t have a way to pass a version to the stylesheet.
 * As a workaround, if the stylesheet is only need on the front-end, you could enqueue
   it like:
 * [https://wordpress.org/support/topic/css-frontend-not-loading/#post-12522376](https://wordpress.org/support/topic/css-frontend-not-loading/#post-12522376)
 * …and pass the style version to `wp_enqueue_style()`.
 * But that’s a good idea to have some versioning of the stylesheet build it, I’ll
   keep that in mind as a possible feature.
 * Your English is perfect, no need to apologize 🙂
    -  This reply was modified 6 years, 2 months ago by [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/).
 *  Thread Starter [peaksyoshida](https://wordpress.org/support/users/peaksyoshida/)
 * (@peaksyoshida)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-css-version-setting/#post-12538751)
 * Thank you for your answer!
    Editing the code is a bit scary. We decided to load
   CSS using other plugins. For me who are not very familiar with WordPress, your
   plugins are very useful.
 * I have another idea.
    In addition to version control queries, this problem could
   be solved by using the following folder structure so that arbitrary CSS file 
   names can be used, and a system where the user updates the file name every time
   it is updated.
 * ex.　/ (theme) / blocks / (myblock) /css/x-x-x.css
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-css-version-setting/#post-12538823)
 * Thanks, good suggestion.
 * I’ll keep a fix like that in mind.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Is there a CSS version setting?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/block-lab_5c34e8.svg)
 * [Block Lab](https://wordpress.org/plugins/block-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/block-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-lab/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-css-version-setting/#post-12538823)
 * Status: resolved