Tagged: video
Hi there
I’ve embedded a video in the advanced layerslider which works fine on desktop but when you go to mobile i’d like the video to fit the full width. I’ve given the video a custom ID and tried the following code but it doesn’t seem to work.
@media only screen
and (min-width : 320px)
and (max-width : 480px) {#home-animation {width:100%;}}
Any ideas why I can’t get it to work?
Thanks
Hey raslade!
Please try adding !important rule as following
@media only screen
and (min-width : 320px)
and (max-width : 480px) {#home-animation {width:100% !important;}}
Cheers!
Yigit
Yigit – that worked a treat, thank you.