0

I am creating a drupal theme but the css is not loading.

I already cleared the cache but it's still not loading.

My info.yml

name: Waluigi
description: Just a test
type: theme
core: 8.x

libraries:
  -waluigi/global-styling

My libraries.yml

global-styling:
  version: VERSION
  css:
    theme:
      css/style.css: {}

The stylesheet is placed at /themes/custom/waluigi/css

Can somebody tell me what I am missing?

2
  • Do you get an error message or is it just not loading? Commented Feb 15, 2019 at 15:48
  • No, it's just not loading. Commented Feb 15, 2019 at 15:50

2 Answers 2

2

You are missing a space after after the "-". So it should be like this:

- waluigi/global-styling
Sign up to request clarification or add additional context in comments.

Comments

0

Oh I had to put a space after the hyphen.

  - waluigi/global-styling

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.