Jump to content

css posters and positions


arrbee99

Recommended Posts

arrbee99

Would anyone know if its possible to remove the posters from Movies etc info page but keep them in the TV guide when you click on a TV program and get the popup with extra program info.

I use this -

/* Remove poster thumb */
div.detailImageContainer.detailImageContainer-main {display: none; }

and was hoping something like this might work, but surprisingly not -

div.detailImageContainer.detailImageContainer-main:not(div.itemView.view) {display: none; }

Same applies to moving stuff down in Movies etc info page and in Music when an album is selected and you have its info with the list of the albums songs underneath, but not moving things down in the TV guide popup.

Tried this but it affects everything

/* Move details down */
/*div.flex-grow.topDetailsMain.flex.flex-direction-column {padding-top: 55em; }*/

while this moves the Movie info down (good), doesn't move the info down in the TV guide popup (good), but doesn't move the album songs down (bad)

/* Move details down only not affecting music or TV program details */
div.flex-grow.topDetailsMain.flex.flex-direction-column.topDetailsMain-graphic {padding-top: 55em; }

Hope I've at least got the explanation right. Will add pictures if necessary...

Link to comment
Share on other sites

Happy2Play
22 minutes ago, arrbee99 said:

Would anyone know if its possible to remove the posters from Movies etc info page but keep them in the TV guide when you click on a TV program and get the popup with extra program info.

I use this -

/* Remove poster thumb */
div.detailImageContainer.detailImageContainer-main {display: none; }

and was hoping something like this might work, but surprisingly not -

div.detailImageContainer.detailImageContainer-main:not(div.itemView.view) {display: none; }

Not sure if I got this correct as I don't have guide info but clicked on a channel

div.detailImageContainer:not(.dialogContainer .detailImageContainer) {display: none; }

Images help me better.

Sort of guessed

div.view .topDetailsMain:not(div.view-livetv-livetv .topDetailsMain){padding-top: 55em; }

 

Link to comment
Share on other sites

arrbee99

Thank you.

If I (hopefully) apply your two lines (and only your two lines), I get no posters and everything moved down for movies (good) -

EmbyMoviesmovedownposters(Medium).thumb.jpg.57b8166cc28e0ab8d9b212f6e900485b.jpg

Everything moved down for music (good) -

EmbyMusicmovedownposters(Medium).thumb.jpg.104bc52528e15a3adb2203edb0e235d8.jpg

Posters in the guide but everything moved down (half good) -

EmbyGuidemovedownposters(Medium).thumb.jpg.7b547da65f024ce9f3d59a1f385c6d1b.jpg

 

 

Link to comment
Share on other sites

Happy2Play
8 minutes ago, arrbee99 said:

Thank you.

If I (hopefully) apply your two lines (and only your two lines), I get no posters and everything moved down for movies (good) -

EmbyMoviesmovedownposters(Medium).thumb.jpg.57b8166cc28e0ab8d9b212f6e900485b.jpg

Everything moved down for music (good) -

EmbyMusicmovedownposters(Medium).thumb.jpg.104bc52528e15a3adb2203edb0e235d8.jpg

Posters in the guide but everything moved down (half good) -

EmbyGuidemovedownposters(Medium).thumb.jpg.7b547da65f024ce9f3d59a1f385c6d1b.jpg

 

 

How about this as that pop-up is dialogcontainer not view-livetv-livetv.

div.view .topDetailsMain:not(div.dialogContainer .topDetailsMain){padding-top: 55em; }

 

  • Like 1
Link to comment
Share on other sites

arrbee99

Yep. That works great thank you.

When you do a 'not' thing, does it always have to include similar stuff to the bit before the 'not' or can it be completely different ?

Link to comment
Share on other sites

Happy2Play
8 minutes ago, arrbee99 said:

Yep. That works great thank you.

When you do a 'not' thing, does it always have to include similar stuff to the bit before the 'not' or can it be completely different ?

Don't know all the rules but believe they need to be the same/similar as the targeted element.

I chose a higher level but almost any of these would have worked inline

class="itemView view flex flex-direction-column scrollFrameY flex-grow emby-scroller page focuscontainer-x focuscontainer-y view-item-item focuscontainer dialog dialog-animated dialog-fixedSize dialog-medium-tall dialog-fullscreen-lowres dialog-swipe-close dialog-scrollY scrollY overflowYScroll opened"

So probably this would have been better.

div.view .topDetailsMain:not(div.view-item-item .topDetailsMain){padding-top: 55em; }

 

Link to comment
Share on other sites

arrbee99

Apparently not. That

div.view .topDetailsMain:not(div.view-item-item .topDetailsMain){padding-top: 55em; }

moves everything back to the top for Movies, music etc

Link to comment
Share on other sites

Happy2Play
3 minutes ago, arrbee99 said:

Apparently not. That

div.view .topDetailsMain:not(div.view-item-item .topDetailsMain){padding-top: 55em; }

moves everything back to the top for Movies, music etc

Yep sorry didn't realize detail screen all changes to view-item-item.  So a higher level has to be targeted in this case dialogContainer for livetv.

 

  • Like 1
Link to comment
Share on other sites

arrbee99

In the third picture above (Two and a Half Men), would there be a way to make just that (huge) poster smaller please. I've tried and somehow made it smaller, but the text next to it didn't move over, so there was quite a big gap.

Link to comment
Share on other sites

Happy2Play
18 minutes ago, arrbee99 said:

In the third picture above (Two and a Half Men), would there be a way to make just that (huge) poster smaller please. I've tried and somehow made it smaller, but the text next to it didn't move over, so there was quite a big gap.

😀You need to move a level

Just edited existing code, original is 14vw

@media all and (orientation: landscape) {
    div.detailImageContainer-main.detailImageContainer-small {
        max-width: 10vw;
    }
}

But guessing as I don't have guide info so am setting off channel.

Edited by Happy2Play
Link to comment
Share on other sites

arrbee99

Doesn't seem to make any difference.

Link to comment
Share on other sites

Happy2Play
2 minutes ago, arrbee99 said:

Doesn't seem to make any difference.

I have no reference as I have no guide info so does Channel show/do the same per the guide?

Edited by Happy2Play
Link to comment
Share on other sites

arrbee99

Is it to do with Landscape ? Its actually a vertical poster.

Link to comment
Share on other sites

arrbee99

Not sure what you mean by Channel ?

Link to comment
Share on other sites

Happy2Play

14

image.png.bd9f35858a0819ce11a8c69f4e3cdb76.png

10

image.png.7dd3f42ce99f849acd8a2374d199e8e6.png

But as mentioned all I can do is guess these card are the same as I have no guide info.

3 minutes ago, arrbee99 said:

Not sure what you mean by Channel ?

Click channel on left of guide.

Edited by Happy2Play
Link to comment
Share on other sites

arrbee99

Oh, that Channel.

Seems to be the same size before and after applying.

I guess where you put it in the css code doesn't matter ?

Link to comment
Share on other sites

Happy2Play

Only other thing since I don't have this info would you be you posting the selector info for that image or a screenshot of the dev console with the image element.

Link to comment
Share on other sites

arrbee99

Would that be these ?

For Channel -

EmbyGuidemovedownposterschannelssize5Duke.thumb.jpg.a1caf178c792c5939904a68e0c03aee5.jpg

For Program in Guide -

EmbyGuidemovedownposterschannelssize5Hotel.thumb.jpg.275f5d9cd4fdce6f0f95bda9693cbe4d.jpg

 

Link to comment
Share on other sites

Happy2Play

It is the exact same elements so did you apply the previous code?

image.thumb.png.3fa356191753b6bfa7ddcc627e39cef6.png

But you can use this instead if you if you prefer.

div.detailImageContainer-main.detailImageContainer-small {max-width: 10vw;}

image.thumb.png.a870bad96cc82f9fad3c091b6d9ae02f.png

Link to comment
Share on other sites

arrbee99

I checked about 5 times, but far as I could tell it was applied but wasn't working. Then I tried your other suggestion and that works well for the channel (e.g. Duke in my case) but not for the poster in the guide. Then I tried just copying the whole of that .detailImageContainer line in the console thing but using 'vw' and that finally seems to make the poster in the guide smaller -

Not very elegant I guess ? -

div.detailImageContainer.detailImageContainer-main.flex.flex-direction-column.justify-content-center.itemsContainer.detailImageContainer-hidemobile.detailImageContainer-portrait.generalItemsContainer.vertical-wrap {max-width: 10vw;}

gives -

EmbyGuidemovedownposterschannelsbetter.thumb.jpg.aea57d98bb847222a68861d22f171ebd.jpg

and

EmbyGuidemovedownposterschannelsbetter1(Medium).thumb.jpg.30dc0b87691a635012e618df9df9a26b.jpg

 

Link to comment
Share on other sites

Happy2Play
8 minutes ago, arrbee99 said:

I checked about 5 times, but far as I could tell it was applied but wasn't working. Then I tried your other suggestion and that works well for the channel (e.g. Duke in my case) but not for the poster in the guide. Then I tried just copying the whole of that .detailImageContainer line in the console thing but using 'vw' and that finally seems to make the poster in the guide smaller -

Not very elegant I guess ? -

div.detailImageContainer.detailImageContainer-main.flex.flex-direction-column.justify-content-center.itemsContainer.detailImageContainer-hidemobile.detailImageContainer-portrait.generalItemsContainer.vertical-wrap {max-width: 10vw;}

gives -

EmbyGuidemovedownposterschannelsbetter.thumb.jpg.aea57d98bb847222a68861d22f171ebd.jpg

and

EmbyGuidemovedownposterschannelsbetter1(Medium).thumb.jpg.30dc0b87691a635012e618df9df9a26b.jpg

 

Per the dev console did you try the code below your custom css?  As it is specific to portrait.

image.png.1c74a5e37eba37bab4d6657ed720423b.png

Where channel is .detailImageContainer-small and Show is .detailImageContainer-portrait.  So specific elements will need to be applied.

Link to comment
Share on other sites

arrbee99

You won't be surprised to hear I'm not sure what you mean, except if it this (which also works) -

div.detailImageContainer-main.detailImageContainer-small {max-width: 10vw;}

div.detailImageContainer-main.detailImageContainer-portrait {max-width: 10vw;}

But the good news is I'll be trying to change the radius of the corners and add a border to that poster soon, so I hope you've got your Patience hat on...

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