Skip to content

Commit c9ccf7c

Browse files
committed
Added info about the project folder and how the article works
1 parent 0d47061 commit c9ccf7c

File tree

5 files changed

+101
-31
lines changed

5 files changed

+101
-31
lines changed
Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
1-
---
1+
# CSS and Images
22

3+
Our homepage is currently missing the CSS and image files. To include these files:
34

4-
---
5+
1. Open File Explorer and navigate to both your Umbraco project folder and the **Custom Umbraco Template** folder.
56

6-
# CSS and Images
7+
{% hint style="info" %}
8+
The Umbraco project folder refers to the folder created during the [Umbraco installation](../../fundamentals/setup/install/).
9+
{% endhint %}
710

8-
Our homepage is currently missing the CSS and image files. To include these files:
11+
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder.
12+
3. Paste them inside the **wwwroot** folder of your Umbraco project.
13+
4. Go to the **HomePage** template in the **Settings** section.
14+
5. Make sure the stylesheet reference in the HTML is `/css/main.css`.
15+
16+
![Stylesheet reference](images/stylesheet-reference.png)
17+
18+
## Stylesheet Reference
19+
20+
Use the Developer Tools in Chrome/Firefox/Edge and refresh `http://localhost:xxxx.`
921

10-
1. Navigate to the **MyCustomUmbracoProject** folder and the **Custom Umbraco Template** folder in File Explorer.
11-
2. Copy the **CSS** and **images** folders from the _Custom Umbraco template_ folder and place it in the **wwwroot** folder inside the _MyCustomUmbracoProject_ folder.
12-
3. Navigate to the **HomePage** template in the **Settings** section and ensure the stylesheet reference link is `/css/main.css`. \\
22+
* Check the **Network** tab to confirm no CSS or image files are missing.
23+
* If you see any errors, double-check for typos and confirm the folders are placed correctly inside the **wwwroot** folder of your Umbraco project.
1324

14-
<figure><img src="images/Master-Template.png" alt=""><figcaption></figcaption></figure>
15-
4. Using Chrome/Firefox/Edge Developer Tools, start or refresh your `http://localhost:xxxx.`
25+
## How Static Files Are Served
1626

17-
The network tab should not report any missing CSS or images files. If the network tab reports any error, check for typos and if the folders are in the right places.
27+
Umbraco serves static files such as stylesheets and images from the **wwwroot** folder. This folder acts as the web root in ASP.NET Core applications. Any files placed here are publicly accessible and can be served directly by the application when requested by the browser.

13/umbraco-cms/tutorials/creating-a-basic-website/css-and-images.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,26 @@
22

33
Our homepage is currently missing the CSS and image files. To include these files:
44

5-
1. Navigate to the **MyCustomUmbracoProject** folder and the **Custom Umbraco Template** folder in File Explorer.
6-
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder and place it in the **wwwroot** folder inside the _MyCustomUmbracoProject_ folder.
7-
3. Navigate to the **HomePage** template in the **Settings** section and ensure the stylesheet reference link is `/css/main.css`.
5+
1. Open File Explorer and navigate to both your Umbraco project folder and the **Custom Umbraco Template** folder.
86

9-
![Stylesheet reference](../../../../10/umbraco-cms/tutorials/creating-a-basic-website/images/Master-Template.png)
10-
4. Using Chrome/Firefox/Edge Developer Tools, start or refresh your `http://localhost:xxxx.`
7+
{% hint style="info" %}
8+
The Umbraco project folder refers to the folder created during the [Umbraco installation](../../fundamentals/setup/install/).
9+
{% endhint %}
1110

12-
The network tab should not report any missing CSS or images files. If the network tab reports any error, check for typos and if the folders are in the right places.
11+
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder.
12+
3. Paste them inside the **wwwroot** folder of your Umbraco project.
13+
4. Go to the **HomePage** template in the **Settings** section.
14+
5. Make sure the stylesheet reference in the HTML is `/css/main.css`.
15+
16+
![Stylesheet reference](images/stylesheet-reference.png)
17+
18+
## Stylesheet Reference
19+
20+
Use the Developer Tools in Chrome/Firefox/Edge and refresh `http://localhost:xxxx.`
21+
22+
* Check the **Network** tab to confirm no CSS or image files are missing.
23+
* If you see any errors, double-check for typos and confirm the folders are placed correctly inside the **wwwroot** folder of your Umbraco project.
24+
25+
## How Static Files Are Served
26+
27+
Umbraco serves static files such as stylesheets and images from the **wwwroot** folder. This folder acts as the web root in ASP.NET Core applications. Any files placed here are publicly accessible and can be served directly by the application when requested by the browser.

14/umbraco-cms/tutorials/creating-a-basic-website/css-and-images.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,26 @@
22

33
Our homepage is currently missing the CSS and image files. To include these files:
44

5-
1. Navigate to the **MyCustomUmbracoProject** folder and the **Custom Umbraco Template** folder in File Explorer.
6-
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder and place it in the **wwwroot** folder inside the _MyCustomUmbracoProject_ folder.
7-
3. Navigate to the **HomePage** template in the **Settings** section and ensure the stylesheet reference link is `/css/main.css`.
5+
1. Open File Explorer and navigate to both your Umbraco project folder and the **Custom Umbraco Template** folder.
6+
7+
{% hint style="info" %}
8+
The Umbraco project folder refers to the folder created during the [Umbraco installation](../../fundamentals/setup/install/).
9+
{% endhint %}
10+
11+
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder.
12+
3. Paste them inside the **wwwroot** folder of your Umbraco project.
13+
4. Go to the **HomePage** template in the **Settings** section.
14+
5. Make sure the stylesheet reference in the HTML is `/css/main.css`.
815

916
![Stylesheet reference](images/stylesheet-reference.png)
10-
4. Using Chrome/Firefox/Edge Developer Tools, start or refresh your `http://localhost:xxxx.`
1117

12-
The network tab should not report any missing CSS or images files. If the network tab reports any error, check for typos and if the folders are in the right places.
18+
## Stylesheet Reference
19+
20+
Use the Developer Tools in Chrome/Firefox/Edge and refresh `http://localhost:xxxx.`
21+
22+
* Check the **Network** tab to confirm no CSS or image files are missing.
23+
* If you see any errors, double-check for typos and confirm the folders are placed correctly inside the **wwwroot** folder of your Umbraco project.
24+
25+
## How Static Files Are Served
26+
27+
Umbraco serves static files such as stylesheets and images from the **wwwroot** folder. This folder acts as the web root in ASP.NET Core applications. Any files placed here are publicly accessible and can be served directly by the application when requested by the browser.

15/umbraco-cms/tutorials/creating-a-basic-website/css-and-images.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,26 @@
22

33
Our homepage is currently missing the CSS and image files. To include these files:
44

5-
1. Navigate to the **MyCustomUmbracoProject** folder and the **Custom Umbraco Template** folder in File Explorer.
6-
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder and place it in the **wwwroot** folder inside the _MyCustomUmbracoProject_ folder.
7-
3. Navigate to the **HomePage** template in the **Settings** section and ensure the stylesheet reference link is `/css/main.css`.
5+
1. Open File Explorer and navigate to both your Umbraco project folder and the **Custom Umbraco Template** folder.
6+
7+
{% hint style="info" %}
8+
The Umbraco project folder refers to the folder created during the [Umbraco installation](../../fundamentals/setup/install/).
9+
{% endhint %}
10+
11+
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder.
12+
3. Paste them inside the **wwwroot** folder of your Umbraco project.
13+
4. Go to the **HomePage** template in the **Settings** section.
14+
5. Make sure the stylesheet reference in the HTML is `/css/main.css`.
815

916
![Stylesheet reference](images/stylesheet-reference.png)
10-
4. Using Chrome/Firefox/Edge Developer Tools, start or refresh your `http://localhost:xxxx.`
1117

12-
The network tab should not report any missing CSS or images files. If the network tab reports any error, check for typos and if the folders are in the right places.
18+
## Stylesheet Reference
19+
20+
Use the Developer Tools in Chrome/Firefox/Edge and refresh `http://localhost:xxxx.`
21+
22+
* Check the **Network** tab to confirm no CSS or image files are missing.
23+
* If you see any errors, double-check for typos and confirm the folders are placed correctly inside the **wwwroot** folder of your Umbraco project.
24+
25+
## How Static Files Are Served
26+
27+
Umbraco serves static files such as stylesheets and images from the **wwwroot** folder. This folder acts as the web root in ASP.NET Core applications. Any files placed here are publicly accessible and can be served directly by the application when requested by the browser.

16/umbraco-cms/tutorials/creating-a-basic-website/css-and-images.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,26 @@
22

33
Our homepage is currently missing the CSS and image files. To include these files:
44

5-
1. Navigate to the **MyCustomUmbracoProject** folder and the **Custom Umbraco Template** folder in File Explorer.
6-
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder and place it in the **wwwroot** folder inside the _MyCustomUmbracoProject_ folder.
7-
3. Navigate to the **HomePage** template in the **Settings** section and ensure the stylesheet reference link is `/css/main.css`.
5+
1. Open File Explorer and navigate to both your Umbraco project folder and the **Custom Umbraco Template** folder.
6+
7+
{% hint style="info" %}
8+
The Umbraco project folder refers to the folder created during the [Umbraco installation](../../fundamentals/setup/install/).
9+
{% endhint %}
10+
11+
2. Copy the **css** and **images** folders from the _Custom Umbraco template_ folder.
12+
3. Paste them inside the **wwwroot** folder of your Umbraco project.
13+
4. Go to the **HomePage** template in the **Settings** section.
14+
5. Make sure the stylesheet reference in the HTML is `/css/main.css`.
815

916
![Stylesheet reference](images/stylesheet-reference.png)
10-
4. Using Chrome/Firefox/Edge Developer Tools, start or refresh your `http://localhost:xxxx.`
1117

12-
The network tab should not report any missing CSS or images files. If the network tab reports any error, check for typos and if the folders are in the right places.
18+
## Stylesheet Reference
19+
20+
Use the Developer Tools in Chrome/Firefox/Edge and refresh `http://localhost:xxxx.`
21+
22+
* Check the **Network** tab to confirm no CSS or image files are missing.
23+
* If you see any errors, double-check for typos and confirm the folders are placed correctly inside the **wwwroot** folder of your Umbraco project.
24+
25+
## How Static Files Are Served
26+
27+
Umbraco serves static files such as stylesheets and images from the **wwwroot** folder. This folder acts as the web root in ASP.NET Core applications. Any files placed here are publicly accessible and can be served directly by the application when requested by the browser.

0 commit comments

Comments
 (0)