Jump to content

Bhazo

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Bhazo

  1. I ended up screwing with the CSS code for a few days until I found the desired effect. .header { background-image:url('insert your link to your image here'); background-repeat:no-repeat; background-position: top center; height: 225px !important; }
  2. With CSS I would have used this code: background-image: url(../images/bk.jpg); background-repeat: no-repeat; background-position: top center; background-color:#000; padding: 0px; margin: 0px; I am trying to achieve the same thing. The image in 1920x1080 and I want it always at the top and always centered. So regardless of screen width, the image is always centered.
  3. I have the following code to center a background image in a section. I am trying to figure out how to prevent the image from scaling. section[data-section-id="63e1bc6bf9b9ca361148d813"]{ .section-background, .section-background .section-background-content, .section-background .section-background-canvas, .section-background .section-background-overlay { top: 0px !important; right: 0px !important; bottom: 0px !important; left: 0px !important; } }
×
×
  • 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.