Last active
April 25, 2025 18:57
-
-
Save Californ1a/ca4e1c55bb1b3f84384e0d45f14c48cb to your computer and use it in GitHub Desktop.
Change YouTube homepage grid count (youtube thumbnail resize)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Credit https://chrome.google.com/webstore/detail/youtube-thumbnail-resizer/pbkkiocccjpeadoiakfbljdbhhdimoac | |
It's seriously just 1 css rule! 🤯 */ | |
.ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 6; | |
} | |
/* Updated version: https://reddit.com/r/youtube/comments/qwjc10/how_to_display_more_thumbnailsitems_on_youtube/hl4fwty/ */ | |
ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 6 !important; | |
} | |
ytd-rich-grid-renderer > #contents > ytd-rich-grid-row, | |
ytd-rich-grid-renderer > #contents > ytd-rich-grid-row > #contents { | |
display: contents; | |
} | |
/* Optional add a bit of right margin */ | |
ytd-rich-item-renderer { | |
margin-right: 4px; | |
margin-left: 10; | |
display: inline-block; | |
margin-bottom: 14px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment