Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
VGSOURCES
Get listed

block themesPATCH 2026.10.16

theme.json Properties Explained for WordPress Block Themes

By VGSources Team 9 min read

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

theme.json is the canonical configuration file for a WordPress block theme. Saved in the theme’s root directory, it defines which design controls appear in the editor, registers presets such as colors and font sizes, sets global styles, and supplies custom templates and template parts. Version 3 is the current format, introduced with WordPress 6.6; the correct properties for your site still depend on the oldest WordPress version you support.

What theme.json controls

Block themes use theme.json as a shared contract between WordPress core, the theme, and user customizations. WordPress reads the file, merges settings and styles from those origins, and turns the result into editor controls and front-end CSS. The file belongs at the top level of the theme, alongside files such as style.css and templates.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A modern file normally begins with a schema declaration and a format version, followed by objects such as settings, styles, customTemplates, and templateParts. The exact object set and nested keys must match the WordPress version you intend to support.

Choose the format version and schema first

Version 3 is the current format

WordPress 6.6 introduced theme.json version 3. Older versions remain supported, but new capabilities are developed against the latest format. Use version 3 when WordPress 6.6 or newer is your compatibility floor. If your theme must run on an older installation, select the earlier format that matches that floor and avoid keys introduced later.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses | Anti UV Ray, For Computers & Gaming, Square Frame, Eyewear for Men and Women
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Point the schema at your oldest supported WordPress release

Set $schema to a version-specific schema URL. The documented pattern is https://schemas.wp.org/wp/{{version}}/theme.json; replace the version variable with the oldest WordPress version your theme supports. A matching schema gives JSON-aware editors tooltips, autocomplete, and validation. The trunk schema contains newer Gutenberg changes and can accept properties that are unavailable to your audience, so it is a poor choice for a theme with a fixed, older support floor.

{
  "$schema": "https://schemas.wp.org/wp/6.6/theme.json",
  "version": 3,
  "settings": {},
  "styles": {}
}

settings versus styles

The most important distinction is capability versus value:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • settings decides which controls and presets are available. A palette, font-size list, spacing scale, or border control is registered here.
  • styles applies visual values. It can set the site-wide text color, a heading’s typography, a button’s border, or a block’s padding.

Registering a color palette does not make that color the body background. It merely makes the named color available to users and allows WordPress to generate related CSS custom properties and utility classes. A style rule must select the color for an element or block.

Every major settings family

The documented settings families are listed below. Nested keys are schema-defined and can change with the target WordPress version, so validate each one against the schema selected for your theme.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Family Purpose
appearanceTools Enables a bundle of design controls, rather than one individual capability.
border Exposes border-related controls and presets.
color Registers palettes, gradients, and color controls.
custom Allows theme-defined custom settings and CSS variables.
dimensions Controls dimensions-related tools.
layout Defines content and wide widths and alignment behavior.
lightbox Controls the image lightbox capability where supported.
position Exposes positioning controls, including sticky behavior where available.
shadow Registers shadow presets and related controls.
spacing Provides margin, padding, block-gap, and spacing-size controls.
typography Registers font families, sizes, weights, line height, decoration, transform, and related controls.
useRootPaddingAwareAlignments Changes how root padding is applied to full-width block contents.
blocks Overrides settings for an individual block instead of changing the whole editor.

Presets for a coherent design system

Color palettes, gradients, font families, font sizes, spacing sizes, and shadows are all examples of presets. A theme can expose only the choices its design system supports, preventing an editor interface filled with options that have not been designed or tested. Presets also provide stable names that users can select in the editor while WordPress emits corresponding CSS variables and classes.

Per-block settings

Place block-specific settings under settings.blocks when a control belongs to one block only. This is useful when, for example, a spacing control should appear for a group layout but not for every paragraph. Because the permitted nested keys are version-sensitive, use the schema and the property-availability table before shipping a per-block override.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How styles applies values

The styles object has three practical scopes: the root, semantic elements, and individual blocks. The same typography or spacing key can mean a site-wide default or a narrowly targeted override depending on where it is placed.

Root styles

Top-level style values are emitted for the document body and establish defaults for the site. Use this scope for the default text and background colors, base typography, global spacing, and other values that should apply unless a more specific rule overrides them.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Element styles

styles.elements targets semantic elements supported by the schema, such as links, headings, buttons, and captions. It is preferable to repeating selectors in custom CSS when the desired rule is a documented element style. For example, a link color or heading font treatment can be expressed once for all matching elements.

Block styles

styles.blocks supplies defaults for a particular block. WordPress normally emits a selector based on the block name, such as .wp-block-cover for the Cover block, unless that block declares a custom selector. Use this scope for intentional exceptions: a different padding value for a navigation block, a shadow for cards, or a special typography treatment for a site title.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Origin and precedence

Theme defaults are only one origin. User styles, block style variations, and other more-specific rules can merge with or outrank them. When a value appears to be ignored, inspect the generated styles and check whether a user or variation rule has greater specificity or a later origin.

What appearanceTools really does

settings.appearanceTools is a Boolean and defaults to false. Setting it to true enables a bundle of controls covering areas such as background, borders, link colors, dimensions, sticky positioning, spacing, and line height. The bundle can expand when WordPress adds new supported design tools.

{
  "settings": {
    "appearanceTools": true
  }
}

The convenience has a compatibility cost: a future WordPress release may add a control to the bundle that your theme has not designed for. Public themes often choose the broad flexibility of the bundle. A client-specific or tightly constrained theme can enable the bundle and then disable individual controls, or leave it off and opt into only the settings it deliberately supports. Decide based on the editor experience you want, not simply on the number of lines in the file.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Properties are version-sensitive

Documentation for the latest format does not mean every installation understands every key. WordPress maintains an availability table that records when a theme.json property became available and, separately, when a matching Style Editor control appeared. These are not always the same release.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Property Available from Practical implication
background.backgroundAttachment WordPress 6.7 Do not rely on this key when your compatibility floor is below 6.7.
typography.textIndent WordPress 7.0 Older installations may ignore the key or lack a corresponding editor control.
typography.textShadow WordPress 7.1 Use only when the supported WordPress range includes this availability.

The living version-3 reference is intended for WordPress 6.6 and later with the latest Gutenberg plugin. For a mixed-version audience, either stay within the oldest version’s property set or provide a deliberate fallback in CSS and theme design. Do not assume that a valid JSON file guarantees that an older WordPress release will render or expose every value.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Root padding and layout behavior

useRootPaddingAwareAlignments

When this setting is enabled, values in styles.spacing.padding apply to the contents of full-width blocks instead of only the root block. Declare the padding as an object with separate sides:

{
  "settings": {
    "useRootPaddingAwareAlignments": true
  },
  "styles": {
    "spacing": {
      "padding": {
        "top": "2rem",
        "right": "clamp(1rem, 4vw, 4rem)",
        "bottom": "2rem",
        "left": "clamp(1rem, 4vw, 4rem)"
      }
    }
  }
}

A single shorthand value is not the documented shape for this behavior. Separate top, right, bottom, and left values make the intended treatment of full-width content explicit.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Layout and spacing are different decisions

Layout settings define content width, wide width, and which alignment options are available. Spacing settings govern margin, padding, block gap, and spacing presets. Typography settings cover font families, sizes, weight, line height, decoration, transform, and other supported options. Keep those concerns separate so an editor can understand whether it is changing the container model, the space between blocks, or the appearance of text.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A reliable authoring workflow

  1. Set the schema. Choose the schema URL corresponding to the oldest WordPress version you support. This makes editor validation useful instead of allowing keys your audience cannot use.
  2. Choose the format version. Use version 3 when the compatibility floor is WordPress 6.6 or later; otherwise choose the older supported format.
  3. Define the control surface. In settings, register only the palettes, font sizes, font families, spacing scale, layout options, border tools, and block controls that belong to your design system.
  4. Apply global defaults. Add the base values in styles at the root scope, including document typography, colors, and spacing.
  5. Add intentional exceptions. Use styles.elements for semantic targets and styles.blocks for block-specific defaults. Avoid duplicating a global rule when an element or block scope expresses the intent more clearly.
  6. Make the appearance-tools decision. Enable the bundle for broad user flexibility, or explicitly select narrower settings when the interface must remain constrained. If you enable it, review future WordPress changes before promising a fixed editor experience.
  7. Check availability. Look up every newer key in the WordPress property-availability table, especially when supporting several WordPress versions.
  8. Validate and inspect. Open the file in an editor with JSON Schema support, then check the block editor on the minimum supported WordPress version and inspect the resulting front-end CSS. Confirm that controls appear where intended and that user styles or block variations do not override your defaults unexpectedly.

Why a setting appears not to work

The installation is too old

Confirm the WordPress version that introduced the property. A key added in 6.7, 7.0, or 7.1 cannot be treated as universally available just because it appears in current documentation. Lower the compatibility target, remove the key, or supply a separate fallback.

The key is in the wrong scope

A value under styles.blocks will not become a site-wide default, and a registered preset under settings will not apply itself as a visual style. Move the value to the root, element, or block scope that matches the intended result.

The control was never enabled

Many editor tools are opt-in. Register the relevant family in settings, or use appearanceTools when its broad bundle is appropriate. Then check whether the particular nested key is supported by the selected schema and WordPress release.

A later origin overrides the theme

User customization, a block style variation, or a more-specific selector can outrank a theme default. Compare the generated CSS and inspect the editor’s saved styles before changing the theme rule.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The schema accepts a key the site cannot use

If autocomplete comes from the trunk schema, it may suggest Gutenberg features unavailable in a production WordPress version. Point the editor to the schema for your oldest supported release and validate again.

A compact decision framework

Decision Choose this when Watch for
Version 3 Your minimum supported WordPress version is 6.6 or newer. Older installations need an earlier format and older property set.
Explicit individual settings The editor must expose a controlled, predictable set of design tools. You must maintain the list as new WordPress capabilities arrive.
appearanceTools: true Users should have broad design flexibility. Future releases may add unfamiliar controls to the bundle.
Root styles A value is the site-wide default. More-specific user, variation, element, or block styles can override it.
Element styles A semantic target such as links, headings, buttons, or captions needs a shared treatment. The element must be supported by the schema for the target version.
Block styles Only one block needs a different default. The emitted selector follows the block’s declared selector behavior.

What a well-maintained file looks like

A durable theme.json is intentionally boring: its schema matches the support floor, its version is explicit, its settings expose a coherent design system, and its styles are placed at the narrowest scope that expresses the requirement. Keep experimental or newer properties out of a compatibility range that cannot honor them. Treat the editor controls and the generated front-end CSS as two outputs of the same configuration, and verify both whenever you change the file.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

block themesGlobal StylesGutenbergtheme.jsonWeb DevelopmentWordPress

Leave a reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.