calcal Posted August 12, 2022 Share Posted August 12, 2022 Site URL: https://cals.art Site password: pump Good day everyone! On desktop, the videos I'm hosting on my site are displayed without any margin or border around them, and due to screen size they are often larger than the window itself, requiring scrolling and going into full-screen in order to properly view the content Is it possible to, on desktop only, add padding or a margin to the videos? Link to comment
tuanphan Posted August 13, 2022 Share Posted August 13, 2022 Can you share link to page in screenshot? I can't find it on homepage & videos page calcal 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
calcal Posted August 22, 2022 Author Share Posted August 22, 2022 On 8/13/2022 at 11:24 PM, tuanphan said: Can you share link to page in screenshot? I can't find it on homepage & videos page Hi tuanphan, I certainly can: it's https://www.cals.art/videos/v/irm the password is pump Thanks so much in advance! Link to comment
tuanphan Posted August 23, 2022 Share Posted August 23, 2022 On 8/22/2022 at 6:49 PM, calcal said: Hi tuanphan, I certainly can: it's https://www.cals.art/videos/v/irm the password is pump Thanks so much in advance! Add to Design > Custom CSS section[data-section-id="62a73b5142c717679f03bcd2"] { padding-left: 30px; padding-right: 30px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
calcal Posted August 25, 2022 Author Share Posted August 25, 2022 On 8/24/2022 at 8:51 AM, tuanphan said: section[data-section-id="62a73b5142c717679f03bcd2"] { padding-left: 30px; padding-right: 30px; } Add to Design > Custom CSS Thanks so much for your response @tuanphan am I able to prevent this code from applying to mobile? Thanks again! Link to comment
tuanphan Posted August 27, 2022 Share Posted August 27, 2022 On 8/25/2022 at 7:30 PM, calcal said: Thanks so much for your response @tuanphan am I able to prevent this code from applying to mobile? Thanks again! Use this new code @media screen and (min-width:768px) { section[data-section-id="62a73b5142c717679f03bcd2"] { padding-left: 30px; padding-right: 30px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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