Create your own set of custom CSS classes, ready to use with one click, to enhance the design of your Gutenberg blocks.
- π¦ WordPress.org: wordpress.org/plugins/studio-immens-css-classes
- β Pro Version (ClassyBlocks Pro): studioimmens.com/classyblocks-pro
- π» GitHub: github.com/Immens95/studio-immens-css-classes
- π Documentazione: docs.studioimmens.com/classyblocks
ClassyBlocks lets you build your own CSS arsenal inside WordPress and apply classes to Gutenberg blocks with a single click β no more writing custom CSS for every block. With 9 built-in CSS frameworks and live preview, it's like having a personal micro-framework always ready.
Gutenberg users need to apply custom CSS classes to blocks without writing code each time. Instead of creating CSS in the theme or adding classes manually via PHP filters, ClassyBlocks provides a centralized library of reusable classes with one-click application and live preview.
- Create classes with base, :hover, and :focus states
- CodeMirror-powered CSS editor with syntax highlighting
- Real-time live preview of your CSS
- Search, edit, duplicate, and bulk delete classes
Toggle frameworks on/off from the admin without modifying your theme:
| Framework | Version |
|---|---|
| Bootstrap | 5.3 |
| Tailwind CSS | 3.x |
| Bulma | 0.9 |
| UIkit | 3.x |
| Materialize | 1.x |
| Pure CSS | 3.x |
| Spectre | 0.5 |
| Semantic UI | 2.x |
| Foundation | 6.x |
- Dedicated ClassyBlocks panel in the block sidebar
- Checkbox-based class selection for any block
- Live preview on hover β see the effect before saving
- Works with any theme: Blocksy, GeneratePress, Astra, Kadence, and more
- Export all classes, settings, and configuration as a single JSON file
- Import from another site to replicate your CSS library
- Perfect for agencies managing multiple client sites
- Minimal CSS output β classes are only generated for what you create
- Dynamic CSS file in
wp-content/uploads/studioimmens_cc/ - No complex JavaScript dependencies
- Zero impact on frontend performance when classes aren't used
Upgrade to ClassyBlocks Pro for:
- 20 Scroll-Driven Animations β fade, slide, zoom, rotate, flip, bounce, blur, pulse, shake (zero JavaScript)
- Pack Manager β create, export, and import animation packs as JSON files
- Surgical Animation Application β apply animations to individual Gutenberg blocks, not entire sections
- Live Animation Preview β see animations in the editor before publishing
- Auto Updates β receive new animations and fixes via the built-in updater
- Go to Plugins β Add New in your WordPress admin
- Search for "ClassyBlocks"
- Click Install Now and then Activate
git clone https://github.com/Immens95/studio-immens-css-classes.git- Upload the
studio-immens-css-classesfolder to/wp-content/plugins/ - Activate the plugin
- Go to ClassyBlocks in the admin menu to start creating classes
- Go to ClassyBlocks in the WordPress admin menu
- Click Add New Class
- Enter a name (this becomes the CSS class name)
- Write your CSS properties in the editor:
border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
- Optionally add
:hoverand:focusstyles - Click Save
- Open any page in the Gutenberg editor
- Select a block
- Open the ClassyBlocks panel in the right sidebar
- Check the box next to your class name
- The style applies immediately β hover over the class name to preview
- Go to ClassyBlocks β Settings
- Toggle the frameworks you want to use
- Framework CSS loads automatically on the frontend
- Go to ClassyBlocks β Settings β Import/Export
- Click Export All to download a JSON file
- On another site, click Import and upload the file
| Requirement | Minimum |
|---|---|
| WordPress | 5.8+ |
| PHP | 7.4+ |
studio-immens-css-classes/
βββ studio-immens-css-classes.php # Bootstrap + core class
βββ admin/
β βββ admin-ui.php # Class management dashboard
β βββ settings.php # Framework settings page
β βββ assistenza.php # Resources/support page
βββ assets/
β βββ admin.css / admin.js # Admin CRUD, toast, batch ops
β βββ editor.js / editor.css # Gutenberg panel
β βββ framework-editor-*.js # Framework-specific previews
βββ includes/
β βββ *.min.css # Minified framework CSS files
βββ si-css.css # Core plugin CSS
βββ languages/ # Translation-ready (IT included)
βββ .wordpress-org/ # WP.org assets
| Option | Purpose |
|---|---|
sicc_css_classes |
Custom CSS class definitions |
sicc_css_settings |
Plugin configuration |
sicc_css_tailwind_config |
Tailwind CSS custom config |
sicc_css_save_count |
Class save counter |
| Action | Description |
|---|---|
sicc_save_css_class |
Create/update a class |
sicc_edit_css_class |
Edit an existing class |
sicc_delete_css_class |
Delete a class |
sicc_get_css_classes |
Retrieve all classes |
Is it compatible with all themes? Yes, but it has been optimized for Blocksy, GeneratePress, Astra, Kadence, and other modern block themes.
Can I add my own CSS classes? Yes. Go to the ClassyBlocks section and create your own classes with the properties you want.
Will it slow down my site? No. It's a lightweight plugin with no complex JavaScript or PHP dependencies. CSS is only loaded for the classes you create.
Does it work with the Site Editor (FSE)? Yes, the ClassyBlocks panel is available in both the post editor and the Site Editor.
GPL v2 or later β see LICENSE.
Built by Studio Immens β WordPress & AI integration specialists.