Replies: 1 comment 16 replies
-
This is invalid syntax. Why is there an http URL and what is Something like this may suffice: @-moz-document url-prefix("https://www.youtube.com/watch") {
.ytp-chrome-bottom {
bottom: auto;
}
} |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to move the controls in [Youtube.com] from the bottom of the page to the top of the page.
A lot of people creating Youtube videos put text on the bottom of the page and the controls cover it up when I pause a video.
I created code to move the controls to the top but it doesn't work:
`/* Apply styles when the "yt-controls-top" class is present on the body */
http://body.yt -controls-top .ytp-chrome-bottom {
position: absolute !important;
top: 10px !important;
bottom: auto !important;
width: 100% !important;
z-index: 1000 !important;
}
http://body.yt -controls-top .ytp-gradient-bottom {
display: none !important;
}
http://body.yt -controls-top .ytp-chrome-controls {
align-items: flex-start !important;
}`
I selected URL and put in https://www.youtube.com/
I'm using Firefox ver: 132.0.1
Stylus is up-to-date
Can anyone figure out what is wrong with the code?
Beta Was this translation helpful? Give feedback.
All reactions