Custom CSS seems not to be used

Created on 7 October 2020, about 4 years ago
Updated 14 April 2023, over 1 year ago

I just installed the new version 8x.1.6. The theme tells: Custom CSS file Found in: sites/default/files/adminimal-custom.css
but it seems not to be used.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands promes

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India Harish1688 India

    Hi,

    In adminimal_theme.theme file there is function to create a adminimal-custom.css file to override or add custom css code without subthememing/hacking Adminimal Theme.

      $form['adminimal_custom']['custom_css'] = [
        '#type' => 'checkbox',
        '#title' => t('Use "adminimal-custom.css"'),
        '#description' => t('Include adminimal-custom.css file to override or add custom css code without subthememing/hacking Adminimal Theme.'),
        '#default_value' => theme_get_setting('custom_css'),
      ];

    To enable the file : -
    1. go on path admin/appearance/settings/adminimal_theme
    2. check the "adminimal-custom.css" checkbox, file will be show on sites/default/files/adminimal-custom.css.

    Test result :
    It's useful for override or add custom css.

Production build 0.71.5 2024