Jump to content

Resize background image to fit mobile view.

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

You can consider adding an one more section under current section, design image for mobile, then add this to Design > Custom CSS to show top section on desktop, show bottom section on mobile only

/* show top section on desktop */
@media screen and (min-width:768px) {
	body.homepage article section:nth-child(2) {
		display: none;
}
}
/* show bottom section on mobile */
@media screen and (max-width:767px) {
body.homepage article section:nth-child(1) {
		display: none;
}
}

 

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

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.