Weesperstraat 61-105
1018 VN Amsterdam
The Netherlands

Drupal Theming: how to remove all 'filter tips & guidelines' in Drupal 10 core theme 'Claro'

Declutter your Drupal administration theme
12 Apr, 2023 Drupal
drupal remove filter guidelines tips

So I'd like to keep the admin UI as clean as possible for clients, and since they only use one text format at the moment, all filter guidelines and tips are cluttering the Drupal administration interface too much. So in previous Drupal versions there where modules to fix this, but for 10 not (yet) available.

Also, I'd like to keep overhead to a minimum and 'every module counts', so here is a simple solution.

  • Create a subtheme for Claro
  • Add an extra theme library
  • Let that library contain a css file, that hides filter tips

Also mighty handy for all kinds of additional Drupal administration theme tweaks and optimizations!

Here's the code:

 

YOURTHEME.info.yml

name: Your Sub Theme
type: theme
base theme: claro
description: 'Subtheme of Claro.'
core_version_requirement: ^10
libraries:
  - YOURTHEME/global-styling-YOURTHEME
regions:
  header: 'Header'
  pre_content: 'Pre-content'
  breadcrumb: Breadcrumb
  highlighted: Highlighted
  help: Help
  content: Content
  page_top: 'Page top'
  page_bottom: 'Page bottom'
  sidebar_first: 'First sidebar'
regions_hidden:
  - sidebar_first
YOURTHEME.libraries.yml
global-styling-YOURTHEME:
  css:
    component:
      assets/css/YOURTHEME_styles.css: {}

YOURTHEME_styles.css

.filter-guidelines,
.form-wrapper.filter-wrapper{
  display:none;
}

Drupal theming Planet Drupal
Written by Joris Snoek | Apr 12, 2023
Drupal project? Let's Talk

Vertel mij over jullie project, ik hoor het graag.
Mail , of stuur een bericht:

Got some more time?

Related content

26 Sep 2026 Drupal

AI als programmeer partner

Een verzoek van een product owner: zijn Drupal website heeft een content-type 'Evenement'. De redactie wil op de homepage een blok met de eerstvolgende drie evenementen tonen. De initiële wens en AI prompt: > “Maak een Drupal block dat de eerstvolgende drie evenementen toont, gesorteerd op…

Lees meer →

26 Aug 2026 Drupal

Met nieuwe functies als: @-mentions, drag-drop afbeeldingen & algemene instellingen.

Vorige week hebben we een nieuwe versie van OpenLucius uitgebracht: een alles-in-een 'social collaboration' platform, met functies als: groepen, social posts, berichten, groep-chats, stories, bestands- en map beheer, notebooks, activity streams, notifications, @-mentions, reacties en likes. …

Lees meer →