Changing user theme

It’s a minor issue. I’ve deprioritzed it but it’s started to bug me a bit kinda now. I’ve looked at other posts and checked that policy user change theme is set to yes not true. The issue is for this user when I go on the panel and try changing it from default back to dark and click save it just goes back to being default which is really annoying. I’ve cleared cookies for my site, it still just won’t work. If I just change it through executing SSH commands, will it save and work fine or will it have the potential to break something?

root@server:~# grep -r THEME /usr/local/hestia/conf/hestia.conf /usr/local/hestia/data/users/ash/user.conf

Can I just do the following?

sudo sed -i "s/THEME='default'/THEME='dark'/" /usr/local/hestia/data/users/ash/user.conf
sudo systemctl restart hestia

It should work fine when changing it from Web UI…

But yes, you can change it from command line, but better use the command provided by Hestia:

v-change-user-config-value ash THEME dark

As you are using sudo, you should use the full path:

sudo /usr/local/hestia/bin/v-change-user-config-value ash THEME dark

And there is no need to restart hestia service.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.