Local Dev .theme file not loading

Drupal Answers Asked by JMichael on September 4, 2020

I’m working on a local development environment (via Acquia Dev Desktop). Our theme is a subtheme of the Stack theme.

In this situation, I’m making changes to my .theme file, but they don’t seem to be loading at all. If I make the same changes to the stack.theme, they load and work as expected.

I’ve ensured I’m using function <subtheme>_theme_suggestions_page_alter but still no luck. There is nothing in the error.log either.

One Answer

Got it fixed on my local environment by putting the base theme name in quotes and then clearing the cache.

Changed base theme: classy to base theme: "classy".

Also, check for a single quote on your theme's description. If you find it, make sure you put the whole description in quotes.

Answered by Heitor Althmann on September 4, 2020

Add your own answers!

Related Questions

Make node only accesible by path alias

3  Asked on November 19, 2021 by kevin-ramirez-zavalza


Form and gated content

1  Asked on November 17, 2021 by dataguy


Calculate Star rating based on webform submissions

1  Asked on November 17, 2021 by brainhax


Pager not working when $form[‘table’] is called with AJAX

1  Asked on November 17, 2021 by user3428971


Send message notification when license expired

1  Asked on November 15, 2021 by learner123


View filtering, Relationship Vs Contextual filter

1  Asked on November 15, 2021 by bassem-mohamed


Missing some block fields

1  Asked on November 15, 2021 by metalbearsolid


Custom template for each profile2 profile type edit form

1  Asked on November 13, 2021 by stavovei-ciprian


How to save an image resource

1  Asked on November 13, 2021 by kosher


How to alter node body content through Views pre render hook?

1  Asked on November 11, 2021 by pramodg


Set Default Value for Image Field contain Multiple Images

1  Asked on November 11, 2021 by pglatz


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP