Title: Css not loaded with Kemet theme
Last modified: May 22, 2022

---

# Css not loaded with Kemet theme

 *  Resolved [Christophe Seguinot](https://wordpress.org/support/users/seguinot/)
 * (@seguinot)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/css-not-loaded-with-kemet-theme/)
 * Hi ,
    Thanks for this nice features plugin. I’m using WP 5.9.3 with Kemet theme(
   and only a few plugins). It appears that no CSS is loaded for flex-posts (`flex-
   posts.css, flex-posts-min.css`) so that each post is appearing at left side of
   page but not in a grid (no “display:flex” is applied to the `fp-post fp-flex`
   div). At present my development website is not yet available on-line.
 * What could I do to help debug this? (I’m used to styling, css, php, …)
 * Regards, Christophe
    -  This topic was modified 3 years, 11 months ago by [Christophe Seguinot](https://wordpress.org/support/users/seguinot/).

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

 *  Thread Starter [Christophe Seguinot](https://wordpress.org/support/users/seguinot/)
 * (@seguinot)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/css-not-loaded-with-kemet-theme/#post-15668940)
 * Hi
    it looks like that css is not enqueued in block.php
 *     ```
       function flex_posts_enqueue_block_assets() {
       	if ( is_admin() ) {
       		wp_enqueue_style( 'flex-posts' );
       	}
       	if ( is_singular() ) {
       		$id = get_the_ID();
       		if ( has_block( 'flex-posts/list', $id ) ) {
       			wp_enqueue_style( 'flex-posts' );
       		}
       	}
       }
       add_action( 'enqueue_block_assets', 'flex_posts_enqueue_block_assets' );
       ```
   
 * Temporary forcing `wp_enqueue_style( 'flex-posts' );` there the correct flex 
   layout is applied.
 *  Plugin Author [Tajam](https://wordpress.org/support/users/tajam/)
 * (@tajam)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/css-not-loaded-with-kemet-theme/#post-15678380)
 * Hi, we have tried using WP 5.9.3 with Kemet theme, but didn’t have this problem.
   The css is loaded correctly. Where did you add the block? Inside a page/post 
   or in other places?

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

The topic ‘Css not loaded with Kemet theme’ is closed to new replies.

 * ![](https://ps.w.org/flex-posts/assets/icon-128x128.png?rev=1871802)
 * [Flex Posts - Widget and Gutenberg Block](https://wordpress.org/plugins/flex-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/flex-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/flex-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flex-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flex-posts/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Tajam](https://wordpress.org/support/users/tajam/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/css-not-loaded-with-kemet-theme/#post-15678380)
 * Status: resolved