Jump to content

custom css no longer working after emby 4 update


Go to solution Solved by Happy2Play,

Recommended Posts

CharleyVarrick
Posted (edited)

Maybe this custom CSS solves your problem: 

.mediaInfoContent div:last-of-type{

top: 60px;

position: absolute;

max-width: none!important;

}

588b445766df2_27012017135757.png

I just noticed this morning that Nickbert's custom CSS, which I've been using for a year or so,  is broken by Emby v4

It still appears in the Emby settings CSS box, but I've lost the path on top of media page, its now back to original place (last possible line at bottom of page.

Is there a way to fix this so filepath is back to how I prefer (on top)

Edited by jlr19
  • Solution
Happy2Play
Posted

Since Size was added, Path is not the last child item in the list. I assume you see Size at the top now.
 

Change

div:last-of-type

to

div:nth-last-child(2)

Only time this will be a issue is with "stub" media or media without media info.

  • Like 1
CharleyVarrick
Posted

Since Size was added, Path is not the last child item in the list. I assume you see Size at the top now.

 

Change

div:last-of-type

to

div:nth-last-child(2)

Only time this will be a issue is with "stub" media or media without media info.

Hi Happy,

I hadn't noticed, but yes, you're right, I do have size instead of path.

I applied your fix and the path is back on top. Thank you!

CharleyVarrick
Posted

@@Happy2Play

I spoke too soon.

The path is back for movies, but not for tv episode; I see "container: Mp4".

 

Does that mean filepath are at different line number for movies vs tv episode ?

Happy2Play
Posted (edited)

@@Happy2Play

I spoke too soon.

The path is back for movies, but not for tv episode; I see "container: Mp4".

 

Does that mean filepath are at different line number for movies vs tv episode ?

 

Yes and No

Yes if content has no size

No if content size is available.  You may have to Refresh-"Missing" or "replace" to have all your episodes rescanned to get this information.

 

That is why we target second from last in the list.  As its actual position varies depending on how many tracks and subtitles there are.

 

Also note there will be quirks with multi-versions as it will show that last version in the list.

Edited by Happy2Play
Posted

Where can I find his Custom CSS (Nickberts) ?

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