Skip to content

Use the block and classic editors

Marketers Delight applies your site's typography and colors to both the block editor and the classic editor. You can use either or both, and MD handles the styling for each automatically.

How each editor is supported

Block editor — WordPress's default editor. MD injects a compiled stylesheet (block-editor.css) into the editor canvas. This file carries your font settings, spacing rules, and the block-specific styles that match the front end. The editor shows your design as you write.

Classic editor — Available when the Classic Editor plugin is installed. MD adds two stylesheets to the classic editor's visual tab: font-icons.css (the theme's icon font) and classic-editor.css (typography and spacing). This keeps text rendering consistent with the front end.

Both editors receive your palette colors as CSS variables, so what you see in the editor matches what visitors see on the site.

Enable Advanced block styling

By default, WordPress loads its own block library CSS, global styles, and layout engine alongside your theme. Marketers Delight can replace those stylesheets with its own to produce leaner pages.

  1. Go to Theme → Settings.
  2. Under Site Tools, open Optimize WP.
  3. Check Enable Advanced block styling.
  4. Select Save.

When this option is on, MD removes wp-block-library, global-styles, and the block layout engine from the front end and provides its own CSS for supported blocks. Unsupported core blocks and block controls that MD overrides are hidden in the editor to avoid presenting options that have no effect.

Leave this option off if your site relies on third-party blocks that depend on WordPress's default block CSS.

The Optimize WP section of the Settings tab with Enable Advanced block styling checked

Check Enable Advanced block styling to replace WordPress's block CSS with MD's.

Choosing an editor

The block editor is the default and requires no extra plugins. Use it for new content and for any layout that benefits from blocks.

The classic editor is available through the Classic Editor plugin. Use it for content written in plain HTML or for workflows that depend on the classic TinyMCE toolbar.

You can run both on the same site — some post types can use one editor while others use the other. MD styles both without additional configuration.

Check the result

Open a post or page in the block editor. The editor canvas should show your font, size, and colors. Open Color in a block's settings and confirm your palette appears under Theme.

If you enabled Advanced block styling, view the page on the front end and confirm the layout looks correct. If any blocks are missing styles, disable the option and use the theme defaults instead.

Alex Mangini

Hi, I'm Alex! I started writing about web design and blogging at 13 years old, which turned into client work, which led to building my own software. 15 years later I'm still at it, and Marketers Delight is the epitome of my philosophy for building on the web.