To create a new theme, here are the steps to follow:
1 . Is it a new theme or is it a theme adaptation?
| New theme | Paid theme customization |
Create a folder named after the project in public_html/themes/. | Create a folder named after the parent theme in public_html/themes/, with -child at the end.
|
Example: public_html/themes/xxxx/ | Example: public_html/themes/parent, and public_html/themes/parent-child/ |
2 . Then change the name inside the theme.yml file
-
public_html/themes/xxxxx/config/theme.yml -
name:project(in lowercase: it is actually the folder name) -
display_name:Project(will appear in Back Office) -
version: 1.0.0 -
author:-
name: "Gopadma Team" -
email: "info@gopadma.com" -
url: "https://www.gopadma.com"
-
3 . As per new design, need to change the template preview image ( preview.jpg in theme folder).
Most Commented