Jump to content

Two columns for home page and blog page for mobile

Recommended Posts

Site URL: https://www.frenchforpineapple.com/

Hello, I've searched and found various similar questions to this, but I'm still stumped.

I want to have two columns displayed side by side on the mobile version of my site for both the home and blog pages (or at least just the blog page). 

Can anyone help? I'm a complete novice with squarespace and coding so if you can help, please tell me exactly where to place the code too. 

Thank you!

Link to comment
On 2/18/2022 at 7:19 PM, Samui said:

Site URL: https://www.frenchforpineapple.com/

Hello, I've searched and found various similar questions to this, but I'm still stumped.

I want to have two columns displayed side by side on the mobile version of my site for both the home and blog pages (or at least just the blog page). 

Can anyone help? I'm a complete novice with squarespace and coding so if you can help, please tell me exactly where to place the code too. 

Thank you!

Add to Design > Custom CSS

@media screen and (max-width:767px) {
.summary-item-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 10px;
}
section.BlogList {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 10px;
}
}

 

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
  • 8 months later...
On 10/26/2022 at 6:11 PM, prettypositivejksnmedia said:

i have 'basic grid blog' and i assume that's why, as the code is for list?

Try adding this CSS

@media screen and (max-width:767px) {
.tweak-blog-basic-grid-width-inset .blog-basic-grid {
    grid-template-columns: repeat(2,1fr);
    display: grid;
}
}

 

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.