Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit cfc3c7f

Browse files
committed
#5245: Hard tabs. Folder: guides/cloud
1 parent 19e2353 commit cfc3c7f

File tree

7 files changed

+211
-170
lines changed

7 files changed

+211
-170
lines changed

guides/v2.2/cloud/howtos/custom-theme.md

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,28 @@ To install a theme manually:
4848
```bash
4949
cp -r ExampleTheme <Magento root dir>/app/design/frontend
5050
```
51-
51+
5252
1. Confirm the theme copied to the correct place.
5353

54-
* Storefront theme: `ls <Magento root dir>/app/design/frontend`
55-
* Admin theme: `ls <Magento root dir>/app/design/adminhtml`
54+
* Storefront theme: `ls <Magento root dir>/app/design/frontend`
55+
* Admin theme: `ls <Magento root dir>/app/design/adminhtml`
56+
57+
A sample follows:
5658

57-
A sample follows:
59+
ExampleTheme Magento
5860

59-
ExampleTheme Magento
6061
1. Add and commit files:
6162

6263
```bash
6364
git add -A && git commit -m "Add theme"
6465
```
65-
66+
6667
1. Push the files to your branch:
6768

6869
```bash
6970
git push origin <branch name>
7071
```
71-
72+
7273
1. Wait for deployment to complete.
7374
1. Log in to the Magento Admin.
7475
1. Click **Content** > Design > **Themes**.
@@ -81,21 +82,32 @@ Installing a theme using Composer is the same as installing any other extension
8182

8283
To summarize the procedure:
8384

84-
1. Purchase the theme from Magento Marketplace.
85-
2. Get the theme's Composer name.
86-
3. Change to your Magento root directory and enter the command:
85+
1. Purchase the theme from Magento Marketplace.
86+
1. Get the theme's Composer name.
87+
1. Change to your Magento root directory and enter the command:
88+
89+
```bash
90+
composer require <vendor>/<name>:<version>
91+
```
92+
93+
For example,
94+
95+
```bash
96+
composer require zero1/theme-fashionista-theme:1.0.0
97+
```
8798

88-
composer require <vendor>/<name>:<version>
99+
1. Wait for dependencies to update.
100+
1. Enter the following commands:
89101

90-
For example,
102+
```bash
103+
git add -A && git commit -m "Add theme"
104+
```
91105

92-
composer require zero1/theme-fashionista-theme:1.0.0
93-
4. Wait for dependencies to update.
94-
5. Enter the following commands:
106+
```bash
107+
git push origin <branch name>
108+
```
95109

96-
git add -A && git commit -m "Add theme"
97-
git push origin <branch name>
98-
5. Log in to the Magento Admin.
99-
6. Click **Content** > Design > **Themes**.
110+
1. Log in to the Magento Admin.
111+
1. Click **Content** > Design > **Themes**.
100112

101-
The theme displays in the right pane.
113+
The theme displays in the right pane.

0 commit comments

Comments
 (0)