diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 3b2b6ee7ae520bf12c3ee6223c2745626fb3cc6e..0e9b922b277a16290a7f3e6d4ef548a09c5a9bd4 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -12,7 +12,7 @@
 }
 
 @mixin faded-background-image {
-	@if ($color-primary == #0082C9) {
+	@if ($color-primary == #0082C9) or ($has-custom-background == true) {
 		background-image: $image-login-background, linear-gradient(40deg, $color-primary 0%, lighten($color-primary, 20%) 100%);
 
 		@if($has-custom-background == true) {