Skip to content

Commit

Permalink
fix doc on how to create a custom theme
Browse files Browse the repository at this point in the history
  • Loading branch information
bka committed Sep 29, 2023
1 parent 7b01176 commit 789b943
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions theme-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ To create a custom theme in Magento 2, follow these steps:
xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>MyTheme</title>
<parent>Magento/blank</parent>
<media>
<preview_image>media/preview.jpg</preview_image>
</media>
</theme>
```

Expand All @@ -62,7 +59,7 @@ ComponentRegistrar::register(
);
```

4. Flush the Magento cache to load the new theme. You can do this by running the command `bin/magento cache:flush`.
4. To load the new theme, run the command `php bin/magento setup:upgrade`.

Your custom theme is now ready to be customized and extended as per your requirements.

Expand Down

0 comments on commit 789b943

Please sign in to comment.