Jump to content

Remove Horizontal Scrolling (beta server)


Happy2Play

Recommended Posts

Happy2Play

Only tested beta server 3.6.0.58
 
Might have some issues with left and right padding with this, depending on screen size/resolution.
 

/*Remove Horizontal Scrolling*/
div.scrollSlider {flex-wrap: wrap; }
div.scrollbuttoncontainer.scrollbuttoncontainer-right {display: none !important; }

-----------------------------------------------------------------------------------------------------------------------------------------------

/*Remove Horizontal Scrolling set padding*/
div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 2.5%;
 padding-left: 2.5%; }
.scrollbuttoncontainer-right {display: none !important; }

Side effects of removing all scroll  is displaying all Cast and Crew, and Chapters images. 

 

 

This is what I used to keep scroll in cast and crew, and chapters.

/*Remove Scroll from Home Screen*/
#homeTab div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 2.5%;
 padding-left: 2.5%; }
#homeTab .scrollbuttoncontainer-right {display: none; }
 
/*Remove Scroll from TV Suggestions and Genre tab*/
#tvPage div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 2.5%;
 padding-left: 2.5%; }
/*Resize Genres images to genre display limit*/
#tvPage div.pageTabContent.tabContent.genresContainer.is-active .overflowPortraitCard {width: 9vw; }
/*Remove Right Scroll button and Suggestions*/
#tvPage .scrollbuttoncontainer-right {display: none; }
 
/*Remove Scroll from Movies Suggestion and Genre tabs*/
#moviesPage div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 3%;
 padding-left: 3%; }
/*Resize Genres images to genre display limit*/
#moviesPage div.pageTabContent.tabContent.genresContainer.is-active .overflowPortraitCard {width: 9vw; }
/*Remove Right Scroll button*/
#moviesPage .scrollbuttoncontainer-right {display: none; }
Edited by Happy2Play
  • Like 5
Link to post
Share on other sites
Happy2Play

Here is a update for just My Media

/*Remove Scroll from My Media*/
#homeTab div.section0 div.scrollSlider {
	flex-wrap: wrap; 
	padding-right: 3%;
	padding-left: 3%; }
#homeTab div.section0 .scrollbuttoncontainer-right {display: none; }
Link to post
Share on other sites
PenkethBoy

 

Here is a update for just My Media

/*Remove Scroll from My Media*/
#homeTab div.section0 div.scrollSlider {
	flex-wrap: wrap; 
	padding-right: 3%;
	padding-left: 3%; }
#homeTab div.section0 .scrollbuttoncontainer-right {display: none; }

@Happ2Play - one thing to note section0 assumes My Media is the first option chosen in the Home Page settings - if it is second then section1 is needed etc

  • Like 1
Link to post
Share on other sites
  • 2 weeks later...
PenkethBoy

@@Happy2Play

 

with .61 - Luke has removed the horizontal scroll for My Media

 

Nothing in release notes and no response about the whole thing in any of the associated threads

Link to post
Share on other sites

@@Happy2Play

 

with .61 - Luke has removed the horizontal scroll for My Media

 

Nothing in release notes and no response about the whole thing in any of the associated threads

 

Be Happy  :)

Link to post
Share on other sites
  • 4 weeks later...
Happy2Play

Search page

/*Remove Scroll from Search*/
#searchPage div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 2.5%;
 padding-left: 2.5%; }
#searchPage .scrollbuttoncontainer-right {display: none; }
Link to post
Share on other sites
  • 4 months later...

Does this still work with the latest beta?  

 

Using what has been posted, it always disables all scrolling... all or nothing basically :(

Link to post
Share on other sites
Happy2Play

Does this still work with the latest beta?  

 

Using what has been posted, it always disables all scrolling... all or nothing basically :(

 

I haven't noticed any issues with the code.  You can selectively remove it in areas if you want to target specific pages/sections.

Link to post
Share on other sites

I haven't noticed any issues with the code.  You can selectively remove it in areas if you want to target specific pages/sections.

 

Just to confirm, if I've copied the block in the second half of your first post, my film cast should still scroll right?

Link to post
Share on other sites
Happy2Play

Just to confirm, if I've copied the block in the second half of your first post, my film cast should still scroll right?

 

Cast and Crew and Scenes can be done but do you really want all the crew from the media displayed?  I have items with 50+ people so I didn't bother removing scroll to show all of them on the screen.

 

But here it is if you like.  You can obviously just add the element to your existing code also.

#castCollapsible div.scrollSlider, #scenesCollapsible div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 2.5%;
 padding-left: 2.5%; }
#castCollapsible .scrollbuttoncontainer-right, #scenesCollapsible .scrollbuttoncontainer-right  {display: none; }

But if you wanted scrolling removed everywhere then I would just use the first code.

Edited by Happy2Play
Link to post
Share on other sites

Cast and Crew and Scenes can be done but do you really want all the crew from the media displayed?  I have items with 50+ people so I didn't bother removing scroll to show all of them on the screen.

 

But here it is if you like.  You can obviously just add the element to your existing code also.

#castCollapsible div.scrollSlider, #scenesCollapsible div.scrollSlider {
 flex-wrap: wrap;
 padding-right: 2.5%;
 padding-left: 2.5%; }
#castCollapsible .scrollbuttoncontainer-right, #scenesCollapsible .scrollbuttoncontainer-right  {display: none; }

But if you wanted scrolling removed everywhere then I would just use the first code.

 

Sorry, what I meant to say is that I don't want the scrolling removed from the cast and crew because the page then looks ridiculous.  However, with only the bottom three blocks of your first post implemented, the cast and crew section also had its scrolling disabled.

 

I'm probably doing something silly, so will take another proper look in the morning.  Cheers :)

Link to post
Share on other sites
Happy2Play

Sorry, what I meant to say is that I don't want the scrolling removed from the cast and crew because the page then looks ridiculous.  However, with only the bottom three blocks of your first post implemented, the cast and crew section also had its scrolling disabled.

 

I'm probably doing something silly, so will take another proper look in the morning.  Cheers :)

 

Hmm, I just applies those three section to a test machine and Cast and Scenes still had right scroll. Have you tried test with only that code in your css box?

Link to post
Share on other sites
  • 8 months later...

Has anyone found a fix for the cast? After the last updating cast is horizontal scrolling again.

 

Nevermind. I just used the first examples and its working. I was using a the custom cast one a few posts down and that one seemed to stop working.

Thanks.

Edited by mgworek
Link to post
Share on other sites
Happy2Play

Has anyone found a fix for the cast? After the last updating cast is horizontal scrolling again.

 

Nevermind. I just used the first examples and its working. I was using a the custom cast one a few posts down and that one seemed to stop working.

Thanks.

 

Change "#castCollapsible" to "div.peopleSection".

  • Like 1
Link to post
Share on other sites
  • 11 months later...

This is broken in 4.6.0.7. The scrollbar now comes back if there's a certain number of items.

Does anyone have a fix?

Edited by tr0nllam
Link to post
Share on other sites

Some of the horizontal lists are using virtual scrolling now to better accommodate a large number of list items. You're not going to be able to change their layout with just css. So that's at the point where an option will be needed.

Link to post
Share on other sites
Happy2Play
2 hours ago, mgworek said:

Not sure when this started but I noticed removing the horizontal for cast & crew works for my tv shows but not for my movies.  Any thoughts?

It works on all items that have 20 or less cast and crew for me no matter content type.  If more than 20 scroll remains.

Can assume code somewhere as Luke mentioned above.

Edited by Happy2Play
Link to post
Share on other sites
On 12/16/2020 at 5:42 PM, Happy2Play said:

It works on all items that have 20 or less cast and crew for me no matter content type.  If more than 20 scroll remains.

Can assume code somewhere as Luke mentioned above.

Gotcha, thanks. I saw Lukes response above but wasn't 100% sure if it was related or not.

 

 

Link to post
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...