Skip to main content
Generating Drupal sub-themes using the Generate Theme Style module

Drupal has a very dynamic approach to building websites. A page can be viewed as a set of blocks that have been generated by modules. Adding  layouts reinforces this approach. This approach simplifies the creation of a theme. The "Generate style thème" module allows you to build blank themes that have wb universe as their parent theme.

To generate a theme, go to Content > Theme Style Creation/Update, then click on “Add Config Theme Entity.”

Notes:

  • Leave the “Force regeneration of npm files” field unchecked, unless you want to regenerate your sub-theme files.
  • Check the “Generate style files?” field only if you have installed the Node.js and npm modules.

On the configuration page, you can:

  • Change the color of links or buttons
    Generate style theme
  • Modifier les couleurs de base
    Generate style theme couleurs
  • Modifier la taille de la police
    Generate style theme taille police

After making your changes, save them. The styles will be regenerated automatically if you have checked the “Generate style files?” box and the Node.js and npm modules are installed.

 

Profile picture for user admin Stephane K

Écrit le

Il y'a 6 months
Modifié
Il y'a 2 weeks
Loading ...
WhatsApp
Support Habeuk : +237 694 900 622
WhatsApp Send