Jump to content

Resizing homepage video for mobile

Recommended Posts

Site : www.kaimanbros.com

Is there a way to get the homepage video to resize for portrait mode viewing on a mobile device (e.g. iPhone and iPad)? 

I've reviewed other posts on the same subject but I'm not a coder and I'm not sure if the fixes for other sites is the same for my site. 

Thanks in advance for any tips. 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try adding to Design > Custom CSS

@media screen and (max-width:900px) {
body.homepage div#parallax-images iframe {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
}
.collection-type-index.first-index-image-fullscreen .title-desc-wrapper.has-main-image.first {
    min-height: 200px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Thanks! Your code definitely helped but is there an adjustment I can make to format the video so it fills more of the screen on mobile? The width is great, but the height is off. 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.