Jump to content

RodyHuy

Member
  • Posts

    5
  • Joined

  • Last visited

RodyHuy's Achievements

  1. Hello Tuanphan I made an error on the previous script you have sent me. The resizing works, only I have some grey margin on both sides. Do you have an idea to remove them? or may be to set the background to white? If you have a script to be able to put another video for the mobile version only, it would be great (mobile video is on vimeo : (https://vimeo.com/815994215) Best regards Rodolphe
  2. Hello Tuanphan Thanks for the updated code. Now the video appears bigger but it is not resized anymore. Is it possible to change to add a video that I have made specially for mobile? Best Rodolphe
  3. Hello Tuanphan Thanks for the script. It works except there is a grey area at the top of the video when looking at a mobile (see attached image). Can you have a look? The video for mobile is on Vimeo (https://vimeo.com/815994215) Best Rodolphe
  4. Hello Tuanphan Yes, I have the issue on the mobile. I tried one of the script but it is not working. @media screen and (max-width:767px) { [data-current-styles*='"backgroundMode": "video"'] video { width: 100% !important; height: auto !important; left: 0 !important; } [data-current-styles*='"backgroundMode": "video"'] { min-height: unset !important; height: 30vh; margin-top: 5vh; } [data-current-styles*='"backgroundMode": "video"'] .html-block * { font-size: 30px; margin: 0; position: relative; top: -25px; } } Can you help? Is it possible to have a dedicated video for the mobile version. I have 2 different videos I would like to use. Would I need a specific script? Thanks Rodolphe
  5. Hello Tuanphan It would be as well great to get a CSS code to resize my banner video on my mobile: www.emyun.ch Thanks Rodolphe
×
×
  • 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.