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 guess 4 version is pretty new, are there any subthemes for this? Or a subtheme generator?
I am using only one subtheme that is attached to version 4 but I cant see how to set the width of the page, because it is too wide
any help
Comments
Comment #1
stebau1808 CreditAttribution: stebau1808 commentedCopy one of the standard layouts in your subtheme, by creating there a layout folder.
then taking over the SASS files from the layout in the main.
for example the layout simple
1. you will find it in /omega/omega/layouts/simple and
2. the SASS files in /omega/omega/sass/layouts/simple
copy the 1. folder into /yourtheme/layouts/ and
the 2. into /yourtheme/sass/layouts/
Then rename it to your like, i.e. mysimple, then change each individual file (.inc, .tpl.php) from simple to mysimple, in the inc files you also have to change the path to the stylesheet which is derived from the sass file.
css/layouts/mysimple/mysimple.layout.css (gets delivered from mysimple.layout.scss)
Comment #2
msmithcti CreditAttribution: msmithcti commentedOmega 4 comes with a "starterkit", which is essentially a template for creating subthemes. The easiest way to create an Omega subtheme is with the drush command:
drush owiz
This command will guide you through creating and enabling a subtheme.
Comment #3
thaistore CreditAttribution: thaistore commentedI never used drush, is there a module that will create subtheme, like omega 3 had?
So here you cant select the width of the page like in version 3?
Comment #4
serg2 CreditAttribution: serg2 commentedOmega 4 has a bit of a learning curve. It is worth the effort but does require learning some new things. While the documentation is not perfect it is possible to follow: https://drupal.org/node/2060741
To answer your question Omega 4 does not integrate with Omega Tools.
Drush is a great tool and worth learning, even if all you ever do is update modules with it.
Modules and themes can integrate with Drush so you can do things such create a new subtheme simply by typing one command.
It is all in the docs, good luck