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.
I've added Zen Grids 2x to my Drupal site
gem query --local
...
zen-grids (2.0.0.beta.1)
...
cat sites/all/themes/zen_subtheme/config.rb
...
@import "zen-grids";
To override the older version of Zen Grids included with my subtheme
grep s.version sites/all/themes/zen_subtheme/sass-extensions/zen-grids/zen-grids.gemspec
s.version = '1.2'
(1) since I've added
@import "zen-grids";
to config.rb, do I still need in my subtheme's local .scss,
cat sites/all/themes/zen_subtheme/sass/_base.scss
...
@import "zen-grids";
...
cat sites/all/themes/zen_subtheme/sass/pages.scss
@import "base";
...
?
(2) can I simply delete the DIR
sites/all/themes/zen_subtheme/sass-extensions/zen-grids/
? or does it still serve a purpose?
What other clean-up/removal do I need to, or can I, do to get rid of the no longer needed/used ZenGrids 1x "stuff"?
Comments
Comment #1
echoz CreditAttribution: echoz commentedI believe we have a choice to locate Zen Grids either in your theme or installed locally (as will be in Zen 7.x-6.x, that will no longer bundle Zen Grids). Uncomment "require 'zen-grids'" in config.rb to use Zen Grids installed locally. Related #1789780: Require Zen Grids to installed separately from Zen
If you decide to use Zen Grids 2 in beta, this changelog can help with needed edits.
Comment #2
ano.nimmus CreditAttribution: ano.nimmus commented> Uncomment "require 'zen-grids'" in config.rb to use Zen Grids installed locally.
done, as above; installed zen-grids in local ruby install, rather than in Drupal subtheme dir path.
reading between the lines, deleted the sites/all/themes/mytheme/sass-extensions/
zen-grids dir. no apparent ill effect.
> If you decide to use Zen Grids 2 in beta
already switched to it
> this changelog can help with needed edits.
it did, thanks!