Jump to content

help to remove some buttons


Go to solution Solved by Happy2Play,

Recommended Posts

Posted

Hi, someone can help me to remove some buttons?

1 - I would like to put the Donwload out of "more" buttons, it's possible?, and after remove "more" button.

image.thumb.png.f188d3f9f87c7451d6e51fb80a2ea204.png

 

2 - remove Played and Favorite

image.png.70b302cf4dd558426324c5a8e59ae3ae.png

 

3- remove Favorite option

image.thumb.png.9a33a61a42cb4af29bab1fe16e19e64b.png

 

4- remove Lost password from all screens

image.png.cebd092d54f335d9bf095ae44b33fa54.png

image.png.d487a4b46cce0f384f030078e6dc26d1.png

 

5 - remove Settings from normal users

image.png.b6246c008a818801512fa2776abb0b1d.png

6 - remove Pictures 

image.png.987f3a1304c42d70aca89477ca591b58.png


7- remove this too .. :D
image.png.824b16f25c982d18848749a52242df45.png

 

I would like to thank everyone who developed the emby, it is really good.

thank you

Happy2Play
Posted
1 hour ago, crisbr002 said:

1 - I would like to put the Donwload out of "more" buttons, it's possible?, and after remove "more" button.

Can't be done with css that I know of.

https://emby.media/community/index.php?/topic/62181-btnsyncdownload

 

1 hour ago, crisbr002 said:

2 - remove Played and Favorite

 

div.cardOverlayButton-br button[title="Played"], div.cardOverlayButton-br button[title="Favorite"] {display: none;}

 

1 hour ago, crisbr002 said:

3- remove Favorite option

6 - remove Pictures 

These header tabs can only be removed via their script files as all the tabs are the same with only a index number difference and removing a index number in one page will remove a different tab on another page,

1 hour ago, crisbr002 said:

4- remove Lost password from all screens

 

/*Login page*/
div[data-type="ForgotPassword"] {display: none;}

/*Manual login page*/
button.btnForgotPassword {display: none !important;}

 

1 hour ago, crisbr002 said:

5 - remove Settings from normal users

 

a.navMenuOption[title="Settings"]:not([data-navmenuid="/dashboard/settings"]) {display: none !important;}

 

2 hours ago, crisbr002 said:

7- remove this too .. :D

.

button.btnHomeScreenSettings {display: none;}

 

  • Like 1
Posted

Hey @Happy2Play, thx for your help.

1- I don't think they have succeeded yet.. 😕

2- not worked

3 and 6 - ah, right

4 - it worked

5 - not worked

7- it worked

Have another solution for these items that not worked?

thx again

Happy2Play
Posted

Sorry will have to verify code is different between release and beta, as I used beta.  So if this is the case note when 4.6 is release you will have to update css.

 

  • Like 1
Posted
44 minutes ago, Happy2Play said:

Sorry will have to verify code is different between release and beta, as I used beta.  So if this is the case note when 4.6 is release you will have to update css.

 

ahh ok, no problem

  • Solution
Happy2Play
Posted

2. I have no issue with the code in release or beta.  But here are a couple of options.

div.cardOverlayButton-br button[title="Played"], div.cardOverlayButton-br button[title="Favorite"] {display: none;}

or

button.cardOverlayButton[title="Played"], button.cardOverlayButton[title="Favorite"] {display: none;}

or

div.cardOverlayContainer [title="Played"], div.cardOverlayContainer [title="Favorite"] {display: none;}

668632069_overlaybuttons.jpg.774c7fefdedec062baa317f186dec0f6.jpg

5. Works for me in both release and beta, but is not working as I wanted as it removes from the dashboard also do to difference in code.

a.navMenuOption[title="Settings"]:not([data-navmenuid="/dashboardgeneral.html"]) {display: none !important;}

drawer.jpg.8c08d4ed8bf3123347238ef71d2f3710.jpg

Now if the issue is trying to target user vs admin with css that is not possible.  It is all or none to my knowledge.

 

  • Like 1
Posted

I found out why it didn't work, I had to put the words in the language I use. Now it worked.

thx dude

  • Thanks 1
  • 3 years later...
Posted

The codes do not work for me, please help me

Posted
On 2/7/2021 at 7:28 PM, crisbr002 said:

I found out why it didn't work, I had to put the words in the language I use. Now it worked.

thx dude

What do you mean by that 

I don't understand 

Happy2Play
Posted
6 hours ago, osama12345 said:

What do you mean by that 

I don't understand 

Depending on your setup language some areas require your translation vs my English text.  But all of this is easy enough to see in the browser debug console inspecting the elements you are trying to change.

 

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...