Sarah CarneyIncluding layout description in Layout Builder ‘configure section’ for Drupal 9Drupal 9 allows us to create custom layout ‘classes’ so that in Layout Builder, the ‘add/configure section’ can have custom options.2 min read·Jul 13, 2023----
Sarah CarneyAdding helpful CSS classes to elements in Drupal 9 themesHello! It’s been awhile since I’ve written something. I want to share a smattering of examples of adding classes to different elements in a…4 min read·Aug 16, 2022--1--1
Sarah CarneyLet Drupal 8/9 templates know the difference between the default logo and custom logoDo you want to add a different class to the site logo depending on if it’s the default logo or custom? Maybe! If so, here’s how.2 min read·Jul 29, 2021----
Sarah CarneyUsing conditional Twig logic in Views replacement patterns in Drupal 8If you are using fields to display content in a View, you can do some of the things in Replacement Patterns as you can do in a theme…2 min read·Apr 29, 2021----
Sarah CarneyGrouping events by year in Drupal 8 using the date range field typeWe have an events content type that uses the date range field type. We display our events as a list on a page. We wanted to group the…2 min read·Apr 15, 2021----
Sarah CarneyCustom block type for a Stat Card in Drupal 8Here is how I created a simple custom block type in Drupal 8 to highlight a statistic. I’m going to take it step-by-step, provide all code…6 min read·Apr 15, 2021----
Sarah CarneyChanging the HTML of Views ‘Grouped by’ in Drupal 8. Sort of.Drupal 8 Views allow you to group Views rows by Taxonomy terms (as an example). This tutorial is about how to control the HTML and styling…4 min read·Jan 14, 2021--1--1
Sarah CarneyAnatomy of a Drupal 8 ThemeOverview of Drupal 8 theming aimed towards beginners or anyone who wants a better idea of what their themers and front-end developer…9 min read·Oct 19, 2020--1--1
Sarah CarneyDrupal 8 Field GroupsDrupal 8 comes with a few ways to group fields on a form via the Manage Form Display tab of content types. Thought I’d just go over them…5 min read·Jul 16, 2020--1--1
Sarah CarneyMove field description below label in Drupal 8Right now in Drupal 8, field descriptions appear below the input. But D8 has description_display built into the backend that we can access…3 min read·Jan 8, 2020--2--2