Greyd Global Styles

The Greyd Global Styles panel extends the capabilities of WordPress Core’s global styles and offers fine-grained control over typography, spacing, button design, and responsive behavior. These settings are available within the Site Editor and provide a centralized way to style elements across your entire site.

Screenshot of Greyd Global Styles panel in Site Editor. The individual sections will be explained in this article.

Font Families

The Font Families section exists primarily for backwards compatibility with earlier versions of the Greyd Theme and Greyd.Suite Classic Theme. Currently it is recommended to upload and manage fonts using the WordPress Core Font Library, accessible via Global Styles → Typography → Fonts section. At the bottom, there’s also a direct link to the Global Styles, from where you can enter the Typography section.

Buttons

Screenshot of the buttons section of global styles editor. The individual sections will be explained in the following section.

The Buttons section allows you to define global styles for both Core button blocks and, if the Greyd Plugin is active, Greyd Buttons as well. The configuration is divided into several areas:

Screenshot of the Basics area in Buttons section, explained in the following paragraphs.

The Basics area lets you configure general typography settings:

  • Font family
  • Font size (ability to switch between preset and custom value)
  • Font weight
  • Line height
  • Letter spacing (allowed units: px, em, rem, vh, vw)
  • Letter case

Under Spacing, you can configure the padding for all buttons. For more information about the setting’s capabilities, refer to the components documentation.

Screenshot of the Predefined Styles with Primary button as example, explained in the following paragraphs.

For each of the predefined styles — Primary, Secondary, and Alternate — you can set the style for all buttons here:

  • Colors
    • Text color
    • Background color (solid colors and gradients available)
  • Border Radius
  • Border
  • Box shadow

For the colors, border and box shadow you can change the settings when the buttons are hovered by switching to the Hover tab.

For more information on the Box Shadow settings, see the components documentation.

Screenshot of the Preset Button size customization with Large button as example, explained in the following paragraphs.

In addition, you can customize the Large and Small preset button sizes. You can adjust the font size by selecting a preset font size or change it to set a custom size.

The padding option is also available, for more information about this setting’s options see the components documentation.

Input Fields

The Input Fields section lets you apply consistent styling to all native form elements across your site, such as comment fields or default inputs without custom styling.

The Basics area provides controls for typography and padding, just like the button section.

You can customize Primary and Secondary input styles with options for colors, borders, border radius, and box shadows — each with separate settings for default and hover states. The input styles have the same options available as the button Primary, Secondary and Alternate styles, with the addition of an additional color setting for the Placeholder.

Screenshot of the label section for global typography and color options, explained in the following paragraph.

The Label section defines global typography and color options for form field labels, keeping input labels visually consistent across templates and patterns. The available settings are for font family, font size, font weight, line height and text and background color.

Spacing

Screenshot of the Spacing section in global styles, explained in the following paragraphs.

This section allows you to control the theme’s spacing scale, which is used for paddings, margins, and block gaps. The values are defined in the theme.json file and can be configured in four modes:

  • Static: A single fixed value, such as 1rem.
  • min: The browser chooses the smaller of two defined values.
  • max: The browser chooses the larger value.
  • clamp: Offers responsive flexibility with three values — minimum, preferred, and maximum. The spacing adjusts based on screen size but always stays within the defined range.

Every preset can be individually changed:

  • Tiny
  • Small
  • Medium
  • Large
  • Extra Large

Grid

Screenshot of the Breakpoints settings in Grid Section, explained in the following paragraph.

The Breakpoints section is only available in the Greyd Theme (not the Greyd WP version). It allows you to override the default breakpoint values for small, medium, and large screen sizes. Only pixel values are supported at this time.

Screenshot of the Content size, explained in following paragraph.

You can also define your Content Size, which controls the primary content width on your site. In contrast to the core setting that supports only static values, the Greyd Theme enables the use of min, max, and clamp modes for more fluid responsiveness.

The Wide Size setting works similarly and affects blocks that support wide alignments. Adjusting this value ensures consistent design behavior across full-width layouts.

In the Spacing section (no screenshot) we used to offer some general spacing options. These are now deprecated and we suggest you to use the WordPress Core features which you can find at the Global Styles → Layout section.

Video

You are currently viewing a placeholder content from Vimeo. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information

Last updated: