Jump to content

About the title My Media - EmbyServer 4.6.4.0


CarlosLima

Recommended Posts

CarlosLima
/* #02 - Remove o texto Minha Midia da homepage - rechigo-v4420-240420 */
.verticalSection.section0 > .sectionTitleContainer.sectionTitleContainer-cards {
    display: none;
}

I've been using this code since april/2020 and realized that it doesn't work when using this menu layout.
Thanks for editing the code to make it work in this situation. 
My intention is to remove the text.
Thanks in advance.

download.png

Link to comment
Share on other sites

Happy2Play

Had no issue with that code removing My Media in both views.

home.thumb.jpg.a3ba6c2ea5650097fef2302e4e43b1d1.jpg

Should give the same results as the elements haven't changed.

div.section0 div.sectionTitleContainer {
    display: none;
}

 

Link to comment
Share on other sites

CarlosLima

Thank you for the answer.
Curious, using my previous code and your new one don't work, the text is still displayed.
I cleared the browsing and even Cloudflare's cache.
This is not so important, I can live with the text in its original location. LOL
Thank you again.

Link to comment
Share on other sites

Happy2Play
8 minutes ago, CarlosLima said:

Thank you for the answer.
Curious, using my previous code and your new one don't work, the text is still displayed.
I cleared the browsing and even Cloudflare's cache.
This is not so important, I can live with the text in its original location. LOL
Thank you again.

Minus existing code interfering or a error in the code somewhere it is hard to say.

Have you tested with this code alone?

Edited by Happy2Play
Link to comment
Share on other sites

Happy2Play

Last resort would be something like this.  But if you have issue somewhere in your code nothing may work.

div.section0 div.sectionTitleContainer h2 {text-indent: -9999px;
line-height: 0;
}

or

div.section0 div.sectionTitleContainer {text-indent: -9999px;
line-height: 0;
}

You can pm your code if you would like me to take look.

Edited by Happy2Play
Link to comment
Share on other sites

CarlosLima

Hey,
Yes, I have now tested my old code plus your three new codes, including alone, one at a time.
Tested in stable 4.6.4.0 and also in beta 4.7.0.5

Link to comment
Share on other sites

CarlosLima
15 minutes ago, Happy2Play said:

Last resort would be something like this.  But if you have issue somewhere in your code nothing may work.


div.section0 div.sectionTitleContainer h2 {text-indent: -9999px;
line-height: 0;
}

or

div.section0 div.sectionTitleContainer {text-indent: -9999px;
line-height: 0;
}

You can pm your code if you would like me to take look.

Done.

Link to comment
Share on other sites

CarlosLima

Hi,
Sorry to get back on track. I thought I could live with the text but in fact it bothers me, so I'm insisting on solving it, because it's always worked for me and for you it's working in the new stable version.
Since I can't remove the text using any of the four CSS created, I tried to edit the text but I couldn't find it in the three existing pt-BR.json files.
Therefore, I tried again the 3 isolated CSS (only them as CSS) and in fact they didn't work, even cleaning the browser navigation and also the cloudflare.
Do I have any idea what might be going on, since my complete CSS code seems to be fine and doesn't conflict with other code?
Thanks again.

Edited by CarlosLima
Link to comment
Share on other sites

Happy2Play

Not sure why it isn't working for you.

Guess last resort would be in your C:\Users\username\AppData\Roaming\Emby-Server\system\dashboard-ui\modules\homesections\homesections.js you can remove "HeaderMyMedia" from the homesections.js

globalize.translate("HeaderMyMedia")

to 

globalize.translate("")

 

Link to comment
Share on other sites

CarlosLima

Solved.
I simply forgot to inform you that I started using the Continue Watching menu as the first item on the homepage, passing the My Media menu down, that is, I changed the positions of both and therefore, I just changed the code from section0 to section1 and It worked.
Thank you so much for all your patience.

download.png

Edited by CarlosLima
Link to comment
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...