Administrative theme persisting in CiviCRM

Created on 13 February 2025, about 2 months ago

Problem/Motivation

Administrative gin theme appearing in CiviCRM even if the default theme for CiviCRM has been set to Claro

Steps to reproduce

Having Drupal 10 website with gin theme and civicrm.
For now we have hid it within theme ext The Island in civicrm by adding following:
body.page-civicrm .gin-secondary-toolbar { display: none; }

But with every ext update we need to include this css to ignore it

Proposed resolution

I see two paths.

  • Adding field on which paths shouldn't gin theme run on, for example /civicrm/ in my case or
  • If administrative theme has been set for example to Claro for civicrm, gin shouldn't be shown on CRM side

Either way works, but 1st approach might be better as there are some people that might have preferences to either allow it or ignore it

User interface changes

Removing toolbar from certain paths if needed

🐛 Bug report
Status

Active

Version

3.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024