Dino Geek, try to help you

How to use child themes on Drupal 8?


To use child themes on Drupal 8, follow the steps below:

1. Create a new subdirectory and name it “YOURTHEMENAME-child” in the “/themes” directory.

1. Create a new CSS file with the name “YOURTHEMENAME-child.css” in the subdirectory.

1. Create a new “YOURTHEMENAME-child.info.yml” file in the subdirectory with the following content:

```
name: ‘YOURTHEMENAME Child‘
type: theme
description: ‘Child theme for YOURTHEMENAME
core: 8.x
base theme: ‘YOURTHEMENAME
```

1. In the Drupal 8 administration panel, go to “Appearance” and select your new child theme.

1. Enable the child theme by clicking the “Enable and set default” button.

1. Customize the child theme by modifying the CSS file created in step 2.

1. Save your changes and test the new child theme.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use