#CSS creation issue

8 messages · Page 1 of 1 (latest)

royal mist
#

Whenever I try to create a css code page for a module, it always gives an error for the first symbol in the code, no matter what it is. I will provide a screenshot shortly.

#

This screenshot is from an attempt to create Module:If preview/styles.css, but the same issue applies across all css pages.

red tree
#

maybe it doesn't recognize it's a css page?
if you go to "page information" in the toolbar or add ?action=info after the page url, what does it say at "Page content model"?

oak lynx
#

The linter is probably wrong, I would just ignore it.

royal mist
still mist
#

Do you have the TemplateStyles extension enabled? This is also required for these module/template CSS subpages to be appropriately recognized on the correct content model...

royal mist
still mist
#

Rights granted.