diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php
index 234c12266101f18437613122bbdbece2292341b1..90907e0ed2812bd8654edfa8c10f1b54320b7670 100644
--- a/modules/consent/templates/consentform.php
+++ b/modules/consent/templates/consentform.php
@@ -19,7 +19,7 @@ $srcName = $this->data['srcName'];
 
 $this->data['header'] = $this->t('{consent:consent:consent_header}');
 $this->data['head'] = '<link rel="stylesheet" type="text/css" href="'.
-    SimpleSAML\Module::getModuleURL("consent/assets/consent.css").'" />'."\n";
+    SimpleSAML\Module::getModuleURL("consent/assets/css/consent.css").'" />'."\n";
 
 $this->includeAtTemplateBase('includes/header.php');
 ?>
diff --git a/modules/consent/templates/consentform.twig b/modules/consent/templates/consentform.twig
index ca07f84f7e6c7e041370a354284aa4d8ef51ff3f..c980f147b7d7a2ad1faba6f96b7880ccba0dcd0a 100644
--- a/modules/consent/templates/consentform.twig
+++ b/modules/consent/templates/consentform.twig
@@ -2,7 +2,7 @@
 {% extends "base.twig" %}
 
 {% block preload %}
-<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}assets/consent.css" />
+<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}assets/css/consent.css" />
 {% endblock %}
 
 {% block content %}
diff --git a/modules/consent/www/assets/consent.css b/modules/consent/www/assets/css/consent.css
similarity index 100%
rename from modules/consent/www/assets/consent.css
rename to modules/consent/www/assets/css/consent.css