Jump to content

Backgroud iamges mobile not aligned to preview

Recommended Posts

Site URL: https://pigeon-wolf-x69b.squarespace.com/opportunities

The preview im getting on squareapce vs looking at the website on my phone (Iphone 12) is different. 

Any fixes for this? Here is teh code implemtend to make the image mobile friendly 

//Oppotunties header image
@media only screen and (max-width: 768px) {
	section[data-section-id="61647811b044e06ce6ef4064"] {
		min-height: 45vh !important;
		img {
			height: auto !important;
			padding-top: 12vh;
			background: #000;
		}
		.section-background {
			height: 45vh;
		}
		.content-wrapper {
			height: 45vh;
			padding-top: 12vh !important;
			padding-bottom: 0 !important;
			position: absolute !important;
			top: 0;
			align-items: center;
		}
	}
}

 

Screenshot 2021-10-22 at 4.46.08 PM.png

IMG_2455.PNG

Link to comment
  • Replies 2
  • Views 216
  • Created
  • Last Reply

Top Posters In This Topic

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.