Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Forgive me if I am being dense, but I am following the guidelines here for overriding settings in my sub-theme.
I have set the following inside ./config/install/mytheme.settings.yml:
settings:
fluid_container: 1
I would expect then that the container-fluid class would be included in lieu of container. However, I don't see that being added. I have run a drush cache rebuild, several times, and have cleared browser cache.
Am I missing a step here? Thanks for a great theme, folks.
Comments
Comment #2
markhalliwellThese are the install settings only. They will only be used/detected if you uninstall and reinstall your theme.
To get these changes to work semi-automatically, you will need to create config syncing directory where you also add this file. This will allow an active site to import these settings from this directory.
Essentially, you will likely technically have three places for these settings:
./docroot/themes/mytheme/config/install/mytheme.settings.yml
./config/sync/mytheme.settings.yml
Read https://www.drupal.org/documentation/administer/config for more information.
Comment #3
markhalliwellActually, all that should probably be documented on that page. The new config management system is very confusing until you start to understand how it works.
Comment #4
markhalliwellComment #5
webkenny CreditAttribution: webkenny as a volunteer commentedBrilliant. Thank you, Mark. I'm more than willing to help out. I'll see if I can get an edit in this weekend.
Comment #6
markhalliwellThis needs to happen soon, but probably not until the parent issue happens.
Comment #7
markhalliwellReally not sure why I postponed this. While related to that issue, it isn't technically blocked by it.
Comment #8
markhalliwellFix title
Comment #10
markhalliwellNow live: https://drupal-bootstrap.org/api/bootstrap/docs%21Theme-Settings.md/grou...