Title: CSS doesn&#8217;t work in block editor
Last modified: August 24, 2026

---

# CSS doesn’t work in block editor

 *  Resolved [joehsd](https://wordpress.org/support/users/joehsd/)
 * (@joehsd)
 * [2 weeks ago](https://wordpress.org/support/topic/css-doesnt-work-in-block-editor/)
 * Dear Support,
 * I found that the css style I wrote didn’t show in block editor either using external
   or internal css after updated WordPress to 7.1.
   Style can be shown in frontend
   by the way.The version of the plugin is 3.54 and I am working on a FSE theme.

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

 *  Plugin Support [Diana Burduja](https://wordpress.org/support/users/dianaburduja/)
 * (@dianaburduja)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/css-doesnt-work-in-block-editor/#post-19001795)
 * Hello [@joehsd](https://wordpress.org/support/users/joehsd/),
    1. Will you make sure the “Where in site: In Block editor” option is checked within
       your custom CSS code? The option can be found on the right side of the code 
       editor.
    2. The HTML structure and the CSS class names on the frontend could be different
       then the ones in the block editor, so the same CSS rule could work on the frontend,
       but not in the editor. Will you make a new CSS custom code with a simple rule
       should work on both sides? For example, with the **Twenty Twenty-Five** theme
       the page title will have the same “wp-block-post-title” CSS class on both side,
       so the `.wp-block-post-title { color: red; }` CSS rule will be a good example
       of a simple rule to test.
 * Let me know any of these two suggestions work.
 * On our test website the CSS custom codes show up alright in the block editor 
   with the Twenty Twenty-Five theme. If the aforementioned suggestions don’t work,
   then it could be a bug that shows up under specific conditions, which would require
   further investigation.
    -  This reply was modified 1 week, 6 days ago by [Diana Burduja](https://wordpress.org/support/users/dianaburduja/).
 *  Thread Starter [joehsd](https://wordpress.org/support/users/joehsd/)
 * (@joehsd)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/css-doesnt-work-in-block-editor/#post-19001998)
 * Thank you for the reply.
   Somehow the issue resolved today when I checked the 
   data by Devtool.Maybe it just caching problem.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-doesnt-work-in-block-editor%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/custom-css-js/assets/icon-128x128.png?rev=1303730)
 * [Simple Custom CSS and JS](https://wordpress.org/plugins/custom-css-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [joehsd](https://wordpress.org/support/users/joehsd/)
 * Last activity: [1 week, 6 days ago](https://wordpress.org/support/topic/css-doesnt-work-in-block-editor/#post-19001998)
 * Status: resolved