Levels Block Editor Styles for Oxygen Builder
Levels Block Editor Styles for Oxygen Builder automatically injects your Oxygen Builder CSS into the WordPress block editor, ensuring that what you see in the editor matches what appears on the frontend. Features Automatic Style Detection – Automatically finds and loads all relevant Oxygen CSS files
Levels Block Editor Styles for Oxygen Builder automatically injects your Oxygen Builder CSS into the WordPress block editor, ensuring that what you see in the editor matches what appears on the frontend.
Features
- Automatic Style Detection – Automatically finds and loads all relevant Oxygen CSS files
- Scoped Styling – All CSS is scoped to prevent affecting editor UI elements
- Reusable Block Support – Detects and loads styles for embedded reusable blocks
- Smart Context Detection – Only loads in the block editor for users with edit permissions
- Performance Optimized – Live-read approach with minimal overhead
- Responsive Images – Automatically converts img tags to responsive versions with srcset and sizes attributes
- Per-Image Size Control – Use the data-image-size attribute to override the default image size per element
- Settings Page – Configure features under Oxygen > Block Editor Styles
Block Editor Styles
The plugin collects CSS from four sources:
- 01oxygen.css – Core Oxygen framework styles
- 02universal.css – Site-wide Oxygen styles
- 03Page-specific CSS – Cached page styles
- 04Reusable block CSS – Styles for embedded reusable blocks
All CSS selectors are automatically rewritten to be scoped within the editor content area to prevent affecting the WordPress admin UI.
Responsive Images
When enabled, the plugin automatically replaces <img> tags in your content with responsive versions that include srcset and sizes attributes. This provides optimized images for all screen sizes without any manual work.
How to use in Oxygen Builder:
- 05Go to Oxygen > Block Editor Styles in the WordPress admin
- 06Enable “Responsive Images”