Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radarr Dark theme not working at all on Radarr V4 #508

Closed
mkanet opened this issue Aug 31, 2023 · 5 comments
Closed

Radarr Dark theme not working at all on Radarr V4 #508

mkanet opened this issue Aug 31, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@mkanet
Copy link

mkanet commented Aug 31, 2023

Describe the bug
The CSS style is not changing at all.

Radarr Version: 4.7.5.7809

Theme Install Method (Don't skip)
NGINZ sub_filter

    server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;
        server_name radarr.mydomain.com;
        location / {
            proxy_pass http://localhost:9998;
            include ./conf/proxy.conf;
            sub_filter
            '</head>'
            '<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/radarr/dark.css">
            </head>';
            sub_filter_once on;
        }
    }

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (If applicable) (please complete the following information):

  • Browser: Occurs on all web browsers
@mkanet mkanet added the bug Something isn't working label Aug 31, 2023
@GilbN
Copy link
Collaborator

GilbN commented Aug 31, 2023

See docs on how the subfilter should be applied https://docs.theme-park.dev/themes/radarr/#setup

@mkanet
Copy link
Author

mkanet commented Aug 31, 2023

See docs on how the subfilter should be applied https://docs.theme-park.dev/themes/radarr/#setup

Thanks. But, there still seems to be something wrong with it. I changed the code to exactly below and deleted browser cache, but it doesn't change. I tried on both MS Edge and Chrome. I don't have this issue when using the Sonarr theme.park dark theme in the same fashion.

    server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;
        server_name radarr.mydomain.com;
        location / {
            proxy_pass http://localhost:9998;
            proxy_set_header Accept-Encoding "";
            sub_filter 
            '<body>'
            '<body><link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/<app>/<theme>.css">';
            sub_filter_once on;
        }
    }

@GilbN
Copy link
Collaborator

GilbN commented Aug 31, 2023

Check your href

@GilbN
Copy link
Collaborator

GilbN commented Aug 31, 2023

And check browser console for errors

@mkanet
Copy link
Author

mkanet commented Aug 31, 2023

@GilbN thank you so much for your patience. It worked after I corrected the href. Thank so much!

@mkanet mkanet closed this as completed Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants