diff --git a/docker-mods/emby/root/etc/cont-init.d/98-themepark b/docker-mods/emby/root/etc/cont-init.d/98-themepark
index ece07fda..91f67ef5 100644
--- a/docker-mods/emby/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/emby/root/etc/cont-init.d/98-themepark
@@ -34,12 +34,5 @@ if [[ -z ${TP_THEME} ]]; then
fi
# Adding stylesheets
-if ! grep -q "${TP_DOMAIN}/css/base" /app/emby/dashboard-ui/index.html; then
- echo '---------------------------'
- echo '| Adding the stylesheet |'
- echo '---------------------------'
- sed -i "s/<\/body>/<\/body> /g" /app/emby/dashboard-ui/index.html
- sed -i "s/<\/body>/<\/body> /g" /app/emby/dashboard-ui/index.html
- printf 'Stylesheet set to %s\n' "${TP_THEME}
- "
-fi
+printf '%s\n' "@import url('https://${TP_DOMAIN}/css/${THEME_TYPE}/${TP_THEME}.css');" "@import url('https://${TP_DOMAIN}/css/base/emby/emby-base.css');" > /app/emby/dashboard-ui/modules/themes/light/theme.css
+printf 'Stylesheet set to %s\n' "${TP_THEME}"