The global styling css file dxpr_theme_subtheme.css is empty and the site has no styling.

Created on 14 July 2024, 4 months ago
Updated 25 July 2024, 4 months ago

I have just installed the dxpr_theme on a fresh install of Drupal 10 for the first time after stumbling across it while searching for good bootstrap themes.

I installed both dxpr_theme and bootstrap5 theme in themes/contrib directory and also installed dxpr_helper and color modules. I then followed the steps described at https://dxpr.com/documentation/creating-dxpr-theme-drupal-9-subtheme to create a custom subtheme

After following the steps in the documentation the subtheme gets created in themes/custom directory as expected but I find that the css file providing global styling located at custom_theme/css/dxpr_theme_subtheme.css is empty and the site has no styling. I have clicked save on Appearance/custom_theme/settings page several times but no effect. I have also cleared the cache several times.

What could be wrong? The file dxpr_theme_subtheme.css is loading because I tested it by putting some random styles in it and these styles showed up on the site after clearing the cache.

🐛 Bug report
Status

Active

Version

5.2

Component

Code

Created by

🇬🇧United Kingdom aanjaneyam

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

Comments & Activities

Production build 0.71.5 2024