Created
November 30, 2025 17:52
-
-
Save MarkusMaal/242008902de1d9c58556947a5107c067 to your computer and use it in GitHub Desktop.
uBlock Origin fix for the stupid YouTube layout, where it only shows 3 videos per line on the homepage
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
| ! YouTube Fix & Customization by Arch v1.8.5 | |
| ! -- Modified version by Markus Maal -- | |
| ! (1/11) YouTube 6 Videos Per Row Fix (Home and Channel Pages) / YouTube Fix & Customization | |
| youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) | |
| youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-items-per-row: 6 !important;) | |
| youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-posts-per-row: 6 !important;) | |
| ! (2/11) YouTube Home Short Section 7 Videos Per Row Fix / YouTube Fix & Customization | |
| youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-slim-items-per-row: 7 !important;) | |
| youtube.com##ytd-rich-shelf-renderer, html:style(--ytd-rich-grid-items-per-row: 7 !important;) | |
| youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-game-cards-per-row: 7 !important;) | |
| youtube.com##ytd-rich-shelf-renderer, html:style(--ytd-rich-shelf-items-count: 7 !important;) | |
| youtube.com##+js(set-attr, ytd-rich-shelf-renderer, is-show-more-hidden) | |
| youtube.com##+js(ra, hidden, ytd-rich-item-renderer, stay) | |
| ! (3/11) YouTube Home and Channel Page Margin Fix / YouTube Fix & Customization | |
| youtube.com##ytd-rich-item-renderer[rendered-from-rich-grid][is-in-first-column]:style(margin-left: calc(var(--ytd-rich-grid-item-margin)/2) !important;) | |
| youtube.com##ytd-rich-item-renderer[is-slim-grid]:first-of-type, ytd-rich-item-renderer[is-shorts-grid]:first-of-type:style(margin-left: auto !important;) | |
| youtube.com##ytd-rich-item-renderer[is-slim-grid]:last-of-type, ytd-rich-item-renderer[is-shorts-grid]:last-of-type:style(margin-right: auto !important;) | |
| ! (4/11) YouTube Font Size Fix / YouTube Fix & Customization | |
| youtube.com###video-title.ytd-rich-grid-media, #video-title.ytd-rich-grid-slim-media:style(font-size: 1.4rem !important; line-height: 2rem !important;) | |
| youtube.com###metadata-line.ytd-video-meta-block:style(font-size: 1.2rem !important; line-height: 1.8rem !important;) | |
| ! (5/11) YouTube Search Results Video Thumb Size Fix / YouTube Fix & Customization | |
| youtube.com##ytd-video-renderer[use-bigger-thumbs][bigger-thumbs-style="BIG"] ytd-thumbnail.ytd-video-renderer, ytd-video-renderer[use-bigger-thumbs] ytd-thumbnail.ytd-video-renderer, ytd-radio-renderer[use-bigger-thumbs] ytd-thumbnail.ytd-radio-renderer, #avatar-section.ytd-channel-renderer, ytd-radio-renderer[use-bigger-thumbs][bigger-thumbs-style="BIG"] ytd-playlist-thumbnail.ytd-radio-renderer, ytd-playlist-renderer[use-bigger-thumbs][bigger-thumbs-style="BIG"] ytd-playlist-thumbnail.ytd-playlist-renderer:style(max-width: 360px !important;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment