Jump to content

Mobile "meet the team" to show as columns

Recommended Posts

I want our "meet the team" page to look similar on mobile as it does for desktop. On desktop it's a simple list with 3 columns, but mobile it's one long list with all of us. 

 

Site password: passion

Link to comment

I think current is better, 2 or 3 will make text + image very small

You can consider adding a back to top on this page (if you need, we can give a free code)

image.thumb.png.00da37098af01bf88d27e2c2edfc8ccf.png

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

Try this Custom CSS from InsidetheSquare:

@media only screen and (max-width: 767px){
 .user-items-list-simple:not([data-num-columns="1"]) {
   grid-template-columns: repeat(2,1fr);
   grid-gap: 10px !important;
 }
 .list-item-content__title{
   font-size: 1rem !important;
 }
 .list-item{
   padding: .5rem !important;
 }
}

Read more:

List Sections: Two Items Per Row for Squarespace List Sections

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

The list shows as a single list for me though so I don't think the code is doing anything. Also - is there a way to code where the home page gallery of our services can be larger/different for mobile but stay the same on desktop? On mobile, those images get pretty small

 

image.thumb.png.77d241e2c2b9d3d8202fcc9a636fad72.png

Link to comment

Add to Design > Custom CSS

/* Mobile Meet Our Team */
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="64791275664ff33006a412ae"] {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-gap: 10px !important;
}
}

 

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
  • 1 month later...
Quote
On 7/21/2023 at 9:24 PM, tuanphan said:

Add to Design > Custom CSS

/* Mobile Meet Our Team */
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="64791275664ff33006a412ae"] {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-gap: 10px !important;
}
}

 

Nothing changed when I added this code... 

 

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.