Skip to content

Commit f63ef94

Browse files
authored
docs: clarify where to add custom CSS files (#12032)
1 parent 35c81a1 commit f63ef94

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

website/docs/styling-layout.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ This is the most traditional way of styling that most developers (including non-
2323

2424
If you're using `@docusaurus/preset-classic`, you can create your own CSS files (e.g. `/src/css/custom.css`) and import them globally by passing them as an option of the classic theme.
2525

26+
Your project structure should look like this:
27+
28+
```
29+
my-website/
30+
├── src/
31+
│ └── css/
32+
│ └── custom.css ← add your custom styles here
33+
├── docusaurus.config.js
34+
└── package.json
35+
```
36+
2637
```js title="docusaurus.config.js"
2738
export default {
2839
// ...

0 commit comments

Comments
 (0)