Jump to content

Two columns of images in mobile view using CSS

Recommended Posts

Site URL: https://josieartstudio.com/

Hi,

I have a bunch of images loaded via code blocks. I want to avoid using the gallery block. Currently my mobile view is stacking images on top of each other in one column. I'd like my mobile view to show the images in two columns side by side. I've tried multiple solutions but haven't been able to figure it out.

 

Website is josieartstudio.com

 

🙂

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

On 8/7/2021 at 2:43 AM, dimperio said:

Site URL: https://josieartstudio.com/

Hi,

I have a bunch of images loaded via code blocks. I want to avoid using the gallery block. Currently my mobile view is stacking images on top of each other in one column. I'd like my mobile view to show the images in two columns side by side. I've tried multiple solutions but haven't been able to figure it out.

 

Website is josieartstudio.com

 

🙂

Hi, Add to Design > Custom CSS

/* Mobile code blocks 3 columns */
@media screen and (max-width:767px) {
div#page-60e498e199f50a4cd819f5e4 .span-4 {
    width: 33.333% !important;
    float: left !important;
}
}

2 columns is not possible

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.