breemelanson Posted July 14, 2022 Share Posted July 14, 2022 Site URL: https://www.breemelanson.com/the-membership I need help removing the black gradient on the video control panels on this page. Is there a CSS to fix this? Link to comment
Solution paul2009 Posted July 14, 2022 Solution Share Posted July 14, 2022 (edited) 6 hours ago, breemelanson said: I need help removing the black gradient on the video control panels You can remove the background gradient behind the controls on the native video player with the following CSS, but it will make them difficult to see and could present accessibility issues: /* Hide controls gradient on native video player */ .video-player .plyr .plyr__controls:before { background-image: none; } If you don't want to see the gradient or the player controls, you can hide both instead: /* Hide controls on native video player */ .video-player .plyr .plyr__controls { display: none; } Was this post helpful? Please give feedback by clicking an icon below ⬇️ Edited July 14, 2022 by paul2009 danielbartel and Eylon 1 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
stevecontor Posted October 19, 2022 Share Posted October 19, 2022 (edited) Hi All, i started adding video content to my site with the new editor. Is there a way to remove the shadow gradient from over the videos? I tried site styles but cant see any settings in there for it. thank you Steve Edited October 19, 2022 by stevecontor Link to comment
paul2009 Posted October 19, 2022 Share Posted October 19, 2022 15 minutes ago, stevecontor said: Is there a way to remove the shadow gradient from over the videos? See my answer above. stevecontor 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
chinadrew Posted March 21, 2023 Share Posted March 21, 2023 Hi, I have done this and while it works initially in the backend, in the front end it goes back to the faded version. Is there an obvious reason for this? See back end and front end below. thanks in advance for the help. Link to comment
BekarHaus Posted April 3, 2023 Share Posted April 3, 2023 Hi Squarespacers, I found some solutions to customize gradient on SQSP native video player. Hope you'll find it useful 😀 /* Hide controls gradient on native video player */ .video-player .plyr .plyr__controls:before { background-image: none; } /* Hide controls on native video player */ .video-player .plyr .plyr__controls { display: none; } /* Change symbol and background color of Play/Pause button */ .video-player .plyr--video .plyr__control--overlaid { color:rgba(255,255,255,0.35) !important; background: #00B0A3 !important } /* Customize video player gradient */ .video-player .plyr .plyr__controls::before { height: 25% !important; background-image: linear-gradient(0deg,rgba(0,176,163,1),rgba(0,176,163,.9) 50%,rgba(0,176,163,.85)) !important; } /* Tablet and desktop break */ @media only screen and (min-width: 641px){.video-player .plyr .plyr__controls::before { height: 8% !important; background-image: linear-gradient(0deg,rgba(0,176,163,1),rgba(0,176,163,.95) 50%,rgba(0,176,163,.9)) !important; }} "height" is for (obviously) height of the gradient, and with "background-image" you can control color/transparency of gradient. Be cautious when using "height" property because it could cover different area on desktop/mobile. I break it for Tablet & Desktop - @media only screen and (min-width: 641px) { INSERT CODE HERE } — as you can see in screenshots bellow (there isn't black line around larger video) . /* Hide video caption */ .video-caption {display: none !important} Best Regards Duško Bekar tuanphan and eastside 2 bekar.haus Link to comment
CooperWhite Posted February 27 Share Posted February 27 What might be the CSS for just the timeline? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment