Jump to content
tomnjerry74

Hide theming options?

Recommended Posts

tomnjerry74
Posted (edited)

Hello,

Does anyone know if it's possible to completely remove the various theming options in the user's "Display" settings?

image.png.1f9b86c660c02b335d3501f997d4ec85.png

Edited by tomnjerry74

Share this post


Link to post
Share on other sites
Happy2Play

As with all css it only applies to LAN/WAN/DDNS browser connections but sure.

I am not seeing a way to target this specific form and it would appear to affect all other forms, here is a way of hide the options.

/*hide Theme options on User preferences*/
#selectTheme, #selectSettingsTheme {display: none;}

Other way would be manually editing the /setting/display.html but would need to be done with every update.

removing

            <div class="selectContainer">
                <select id="selectTheme" is="emby-select" label="${LabelTheme}"></select>
                <div class="fieldDescription featurePremiereInfo"></div>
            </div>

            <div class="selectContainer">
                <select id="selectSettingsTheme" is="emby-select" label="${LabelSettingsTheme}"></select>
                <div class="fieldDescription featurePremiereInfo"></div>
            </div>

 

Share this post


Link to post
Share on other sites
tomnjerry74
49 minutes ago, Happy2Play said:

As with all css it only applies to LAN/WAN/DDNS browser connections but sure.

I am not seeing a way to target this specific form and it would appear to affect all other forms, here is a way of hide the options.


/*hide Theme options on User preferences*/
#selectTheme, #selectSettingsTheme {display: none;}

Other way would be manually editing the /setting/display.html but would need to be done with every update.

removing


            <div class="selectContainer">
                <select id="selectTheme" is="emby-select" label="${LabelTheme}"></select>
                <div class="fieldDescription featurePremiereInfo"></div>
            </div>

            <div class="selectContainer">
                <select id="selectSettingsTheme" is="emby-select" label="${LabelSettingsTheme}"></select>
                <div class="fieldDescription featurePremiereInfo"></div>
            </div>

 

Thanks for your help!

For anyone wondering, it's best to add 

style="display:none;"

to each of the selectContainer divs, as removing them outright causes it to be a little glitchy.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...