Jump to content

Change 'Emby Web' name


Go to solution Solved by Happy2Play,

Recommended Posts

cochize1

I was trying to figure this out on my own but failed as usual.

How can I change 'Emby Web' to 'My text' in drawer and settings? I was trying to use this code but it only works for drawer and somehow shifts and duplicates the entry:

[title="Emby Web"] {
	text-indent: -9999px;
	line-height:0;
}
 
[title="Emby Web"]:after {
	content:'My text';
	text-indent: 0;
	display: block;
	line-height: initial;
}

PS. Is there a way to setup that the profile picture links only me (Administrator) to the Dashboard and stays as it is for all other users?

Edited by cochize1
Link to post
Share on other sites
Happy2Play

The duplication is do there being two [title="Emby Web"] in that section of code, and Setting page is not title="Emby Web".

/*Drawer Emby Web navHeader*/
h3.emby-collapsible-title[title="Emby Web"] {
    visibility: hidden;
    position: relative;
}
 
h3.emby-collapsible-title[title="Emby Web"]:after {
	content:'My text';
    visibility: visible;
    position: absolute;
}

As for Settings page it is dependent on the "Allow this user to change their password and profile image" user setting, since it removes element from that page.

/*Replace Emby Web Header on User Settings*/
div.dynamicRoutes h3:nth-child(7), div.dynamicRoutes h3:nth-child(9) {
    visibility: hidden;
    position: relative;
}
 
div.dynamicRoutes h3:nth-child(7), div.dynamicRoutes h3:nth-child(9):after {
	content:'My text';
    visibility: visible;
    position: absolute;
}

 

1 hour ago, cochize1 said:

PS. Is there a way to setup that the profile picture links only me (Administrator) to the Dashboard and stays as it is for all other users?

Not sure exactly what  you are asking.

Link to post
Share on other sites
cochize1
28 minutes ago, Happy2Play said:

As for Settings page it is dependent on the "Allow this user to change their password and profile image" user setting, since it removes element from that page.

I am disallowing the change of password so this code doesn't work and can't seem to find the right 'nth-child' element on my own

 

28 minutes ago, Happy2Play said:

Not sure exactly what  you are asking.

I have used a css code to get rid of a cogwheel as from the users point of view it led to the same place (Settings) as the profile picture. So now, whenever I want to access the dashboard as an administrator i first need to click on profile picture and then on the Dashboard.

So is there a way to:

1. Remove the cogwheel for all the users except me?

2. Make profile picture link to lead to Dashboard just for me but still link other users to Settings?

Edited by cochize1
Link to post
Share on other sites
  • Solution
Happy2Play
15 minutes ago, cochize1 said:

I am disallowing the change of password so this code doen't work and can't seem to find the right nth-child element on my own

Sorry I messed up the code for child 7 missed a :after in copy and pasting.  7 applied to the setting disabled and 9 applies to the setting enabled.

/*Replace Emby Web Header on User Settings*/
div.dynamicRoutes h3:nth-child(7), div.dynamicRoutes h3:nth-child(9) {
    visibility: hidden;
    position: relative;
}
 
div.dynamicRoutes h3:nth-child(7):after, div.dynamicRoutes h3:nth-child(9):after {
    content:'My text';
    visibility: visible;
    position: absolute;
}

 

15 minutes ago, cochize1 said:

1. Remove the cogwheel for all the users except me?

No css applies to all or none, user is irrelevant.

17 minutes ago, cochize1 said:

2. Make profile picture link to lead to Dashboard just for me but still link other users to Settings?

These setting lead to the same place for admin and users.  The admin just has more options.  But if disable the user option "Allow this user to change their password and profile image", the options is removed.

  • Like 1
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...