Jump to content

ItemDetails


cochize1

Recommended Posts

cochize1

Everything is working now but would like to solve one last bit:

I wanted to remove Trakt (as I don't use it) and Zap2it (as it always leads to a blank page) with this code:

#itemDetailPage > div.detailPageContent.padded-bottom-page.detailPageContent-nodetailimg > div.detailPagePrimaryContainer.padded-left.padded-right > div.detailPagePrimaryContent > div > div.detailSectionContent > div.verticalSection.detailVerticalSection.linksSection > div > a:nth-child(4)
{display: none;}
#itemDetailPage > div.detailPageContent.padded-bottom-page.detailPageContent-nodetailimg > div.detailPagePrimaryContainer.padded-left.padded-right > div.detailPagePrimaryContent > div > div.detailSectionContent > div.verticalSection.detailVerticalSection.linksSection > div > a:nth-child(5)
{display: none;}

and it works but I get left with the standalone coma at the end, is there a way to remove that?

5dfe53513a6a4_df.png

 

and additional quesion: how did you change color for director and genre section as this selector seems not to be working:

#itemDetailPage > div.detailPageContent.padded-bottom-page.detailPageContent-nodetailimg > div.detailPagePrimaryContainer.padded-left.padded-right > div.detailPagePrimaryContent > div > div.genres.details-secondary > a

Edited by cochize1
Link to comment
Share on other sites

d00zah

 

and additional quesion: how did you change color for director and genre section as this selector seems not to be working:

 

 

Custom CSS (Happy's handywork):

 

/* Adjust font color for Links */

.button-link, .button-flat-accent, .button-accent-flat, .textlink {  color: #52B54B !important; }

 

/* Adjust font color for Top Header */

.emby-tab-button-active {  color: #52B54B !important; }

 

/* Adjust 'picker' color */

.alphaPickerButton {  color: #52B54B !important; }

 

 

Link to comment
Share on other sites

cochize1

This changes all link colors (like start, favorites etc.) and I want just to change director and ganre and leave all other by default.

Link to comment
Share on other sites

d00zah

This changes all link colors (like start, favorites etc.) and I want just to change director and ganre and leave all other by default.

 

 

That's all I've got, Maybe @@Happy2Play can offer something more 'surgical'?

Link to comment
Share on other sites

Happy2Play

@@cochize1
 
The commas are in the item.js.
 
What will you do about Trakt in a different position in Movies?
 

how did you change color for director and genre section as this selector seems not to be working:

 
They are already styled "color:inherit", so you have to !important your code or target differently.

#itemDetailPage div.detailPagePrimaryContent div.genres.details-secondary {
    color: red;
}

#itemDetailPage div.detailPagePrimaryContent div.directors details-secondary {
    color: red;
}

**Split and moved topic

Edited by Happy2Play
Link to comment
Share on other sites

cochize1

Wow, thanks. Wasn't sure if I can do it but I did.

 

Removing coma from links.join(", ") in item.js worked and I think it looks better now.

 

As for the colors adding !important helped since the code you gave also changed the 'Directors' part and not just directors name.

 

And as for the Trakt in movies, I really don't mind it being there, mainly I wanted to remove Zap2it but since it was a:nth-child(4) out of 5 I had to get rid of the last 2.

 

Thank you:)

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