Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
wordpress themes

6 Articles
{
,

}
Direct link to the article Adding Box Shadows to WordPress Blocks and Elements
WordPress WordPress blocks wordpress themes

Adding Box Shadows to WordPress Blocks and Elements

The CSS box-shadow and outline properties gained theme.json support in WordPress 6.1. Let's look at a few examples of how it works in real themes, and what options we have to apply these styles to WordPress blocks and elements.
Avatar of Ganesh Dahal
Ganesh Dahal on Dec 7, 2022
Direct link to the article Using The New Constrained Layout In WordPress Block Themes
WordPress wordpress themes

Using The New Constrained Layout In WordPress Block Themes

One of the main goals of the WordPress Site Editor (and, yes, that is now the “official” name) is to move basic block styling from CSS to structured JSON. JSON files are machine-readable, which makes it consumable by …

Avatar of Ganesh Dahal
Ganesh Dahal on Nov 30, 2022
Direct link to the article Managing CSS Styles in a WordPress Block Theme
WordPress wordpress themes

Managing CSS Styles in a WordPress Block Theme

The way we write CSS for WordPress themes is in the midst of sweeping changes. I recently shared a technique for adding fluid type support in WordPress by way of theme.json, a new file that WordPress has been pushing …

Avatar of Ganesh Dahal
Ganesh Dahal on Nov 7, 2022 (Updated on Dec 13, 2022)
Direct link to the article Adding Fluid Typography Support to WordPress Block Themes
clamp fluid type WordPress WordPress blocks wordpress themes

Adding Fluid Typography Support to WordPress Block Themes

Fluid typography is a fancy way of “describing font properties, such as size or line height, that scale fluidly according to the size of the viewport”. It’s also known by other names, like responsive typography, flexible type, fluid type, …

Avatar of Ganesh Dahal
Ganesh Dahal on Oct 7, 2022
Direct link to the article How to Create Style Variations in WordPress 6.0 Block Themes
WordPress wordpress themes

How to Create Style Variations in WordPress 6.0 Block Themes

Global styles, a feature of the block themes, is one of my favorite parts of creating block themes. The concept of global style variations in WordPress were introduced in Gutenberg 12.5 which would allow theme authors to create alternate …

Avatar of Ganesh Dahal
Ganesh Dahal on May 16, 2022 (Updated on Nov 14, 2022)
Direct link to the article A Deep Introduction to WordPress Block Themes
WordPress WordPress blocks wordpress themes

A Deep Introduction to WordPress Block Themes

The relatively new WordPress editor, also known as the WordPress Block Editor, always under development via the Gutenberg plugin, has been with us since 2018. You can use the block editor on any WordPress theme, provided the theme …

Avatar of Ganesh Dahal
Ganesh Dahal on Feb 4, 2022 (Updated on Feb 18, 2022)

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top