# Multisite not loading CSS/assets?

**URL:** <https://forum.getkirby.com/t/multisite-not-loading-css-assets/7953>\
**Category:** Questions\
**Tags:** v2\
**Created:** [July 12, 2017, 1:34pm UTC](https://forum.getkirby.com/t/multisite-not-loading-css-assets/7953 "2017-07-12T13:34:27Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [July 19, 2017, 6:40pm UTC](https://forum.getkirby.com/t/multisite-not-loading-css-assets/7953/18 "2017-07-19T18:40:31Z")

</div>

Sorry for the delay!

> [@AudioBear](#):
>
> Are you saying it does not work as I have it laid out? Can we have a shared kirby/panel (and maybe other e.g. plugins) folder with sub folders for domains. I was pointing the domains at the multisite folder/site.php and thinking that would point to sub folders, am I wrong?

Your setup _will_ work, but not exactly in the way you implemented it.  
My recommendation: Use a directory structure like this:

```auto
kirby/
  ...
panel/
  ...
test.dev/
  assets/
    ...
  content/
    ...
  index.php
  kirby -> ../kirby
  panel -> ../panel
  site/
    ...
test2.dev/
  assets/
    ...
  content/
    ...
  index.php
  kirby -> ../kirby
  panel -> ../panel
  site/
    ...

```

Basically you have separate sites but use a global `kirby` and `panel` directory outside of the webroots. Those two directories are then linked into the sites using a symbolic link (`ln -s ../kirby kirby`).

> [@AudioBear](#):
>
> On both Unix or MacOS it is the same. Changing to ‘/’ alters nothing but I appreciate your point.

It won’t change anything on Linux/macOS. But you should change it anyway. 🙂

> [@AudioBear](#):
>
> The CSS and JS are loaded by autocss/autojs as they are the starter kit files. I’m also a bit confused about this, does this mean the ‘asset path’ cannot be used for images/fonts? Perhaps you have to set it manually in site.php?

Kirby does not keep track of any other assets than `autocss`/`autojs` and avatars. It just doesn’t care at all where all other assets like images and fonts are stored. That’s why there is no configuration option for this – it wouldn’t get used anywhere.  
If you use `css('assets/css/whatever.css')`, you just get a style tag with a URL that is relative to the site’s root URL, it doesn’t matter if you are pointing to the `assets` directory or a directory with a different name.

---

_[View the full topic](https://forum.getkirby.com/t/multisite-not-loading-css-assets/7953)._
