Jump to content

Restrict width of canvas or background image to site width

Recommended Posts

Hello 

I am wondering if there is a css snippet to control the width of background?  I want my background video and images to be constrained to the site width not the browser width.  On ultra wide screen my background images and video get stretched.

 

Appreciate the help

Link to comment
  • Replies 4
  • Views 434
  • Created
  • Last Reply
1 hour ago, Kneves said:

Hello 

I am wondering if there is a css snippet to control the width of background?  I want my background video and images to be constrained to the site width not the browser width.  On ultra wide screen my background images and video get stretched.

 

Appreciate the help

Please show your url so we can provide help

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
  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.