Jump to content

Two Columns on Home Page for Mobile

Recommended Posts

Site URL: https://dropdolley.com

Hey!

 

I am seeking help to add two columns listing to my home page on mobile view. Currently, my mobile for the fan favorites section is only online one column.

I know this is a css coding issue but the solutions I have found don't seem to work.

 

What edits should I make to the code below for my HOME page (this code worked for my shop but not for mobile):

@media only screen and (max-width:767px) {
.products .list-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.products .grid-item { width: 48%;
}
}

Link to comment
  • Replies 1
  • Views 368
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Add this CSS then save & reload the site

/* Home mobile 2 columns */
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="6333970a4fff6b32d9075898"] ul {
    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.