Inkdave Posted May 30 Share Posted May 30 Hi All Need some help adjusting the font size of the Video Description and reducing the spacing between the Video and Video Description itself. I have specified the Description font size in CSS, however I would like it to adjust in size when browser is scaled and for mobile. Currently it just stays the same size. CSS used: /* caption font size on videos */ .video-caption * { font-size:16pt !important; padding-top: 0px !important; } Page in question: Page: https://studioyoung.com/test I'm also having trouble reducing the spacing/padding between description and video any more then it currently is. Appreciate the help. Beyondspace 1 Link to comment
Beyondspace Posted May 30 Share Posted May 30 (edited) 4 hours ago, Inkdave said: Hi All Need some help adjusting the font size of the Video Description and reducing the spacing between the Video and Video Description itself. I have specified the Description font size in CSS, however I would like it to adjust in size when browser is scaled and for mobile. Currently it just stays the same size. CSS used: /* caption font size on videos */ .video-caption * { font-size:16pt !important; padding-top: 0px !important; } Page in question: Page: https://studioyoung.com/test I'm also having trouble reducing the spacing/padding between description and video any more then it currently is. Appreciate the help. Try the following custom css #block-a1ba7341014e31df0d85 .video-caption p { margin-top: 0; } @media only screen and (max-width: 767px) { .video-caption p { font-size: 16px !important; } } Let me know how it works on your site Edited May 30 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Inkdave Posted May 31 Author Share Posted May 31 Hey man, that works pretty great thanks! One slight issue is that my video description is set over two lines and the fist line is set to bold. Because it has a 'bold' style applied it doesn't seem to scale. If you remove style it all scales perfectly.... ant thoughts? 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