Jump to content

Recommended Posts

  • Replies 7
  • Views 940
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

You can do 2 columns on desktop, then share site url, we can give you code to make it 1 column on mobile

You can also try this code to Website > Website Tools > Custom CSS first

@media screen and (max-width:767px) {
	#gridThumbs {
		display: grid !important;
		grid-template-columns: repeat(1,1fr) !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Thanks, not sure where to insert the code, also not being a developer not sure I want to mess too much with that. Just looking to change the columns on desktop to allow more variation in the portfolio, and it not impact on mobile, mobile always be one image on top of each other.

image.thumb.png.9f8dd8ae1b3b5e9288f4c0dda0dbb034.png

Link to comment
On 3/8/2024 at 3:20 PM, tuanphan said:

Hi,

You can do 2 columns on desktop, then share site url, we can give you code to make it 1 column on mobile

You can also try this code to Website > Website Tools > Custom CSS first

@media screen and (max-width:767px) {
	#gridThumbs {
		display: grid !important;
		grid-template-columns: repeat(1,1fr) !important;
}
}

 

That code will make 1 columns on mobile, if you want 2 columns, use this code instead

@media screen and (max-width:767px) {
	#gridThumbs {
		display: grid !important;
		grid-template-columns: repeat(2,1fr) !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.