# Enabling Wordpress block styles

**URL:** https://discourse.roots.io/t/enabling-wordpress-block-styles/27159
**Category:** radicle
**Created:** 2024-05-15T03:45:00Z
**Posts:** 2

## Post 1 by @bonlando — 2024-05-15T03:45:00Z

It seems that custom block styles such as background color, font size or align etc aren’t working. I’m guessing this was intentional? Can we turn them on somehow?

Thanks!

---

## Post 2 by @sitesandsuch — 2024-05-15T07:46:30Z

Are you referring to the ‘default’ styles that come with the Block Editor? I find these very useful but I do not want to load all of them as much is not needed.

I use `roots/acorn-prettify` and set `'disable-gutenberg-block-css' => true,`  
This disables loading of the CSS in the `<head>`

Then I add the necessary CSS directly to app.css from /wp-includes/:

```
@import "../../../../../wp-includes/css/dist/block-library/common.css";
@import "../../../../../wp-includes/blocks/cover/style.css";
@import "../../../../../wp-includes/blocks/group/style.css";
```
